IMU error calibration method and system
By performing multiple calibration steps on a dual-axis turntable and calculating the error parameters of the inertial measurement unit, the problem of complex and inefficient calibration of the inertial measurement unit in the existing technology is solved, and fast and efficient full calibration and high-reliability calibration are achieved. result.
Patent Information
- Application Number
- CN202410667047.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-28
AI Technical Summary
The calibration process of the inertial measurement unit in the existing technology is complex and inefficient. The dual-axis turntable calibration can achieve full calibration but takes a long time, while the single-axis turntable can only rotate in one direction and cannot fully calibrate the 3-axis gyroscope and 3-axis accelerometer. total error.
By controlling the motion of the two-axis turntable, the inertial measurement unit is driven to perform multiple calibration steps, extracting data from the accelerometer and gyroscope, calculating the zero bias, scale factor and cross-coupling coefficient, and combining the data from multiple static steps for calibration to improve the calibration results. reliability.
It achieves fast and efficient full calibration of the inertial measurement unit, simplifies the calibration process, improves the calibration efficiency and the reliability of the results, and is suitable for on-vehicle and non-vehicle applications.
Smart Images

Figure CN118243146B
Abstract
Description
Technical Field
[0001] The present application relates to the field of calibration of inertial measurement units, and in particular to an IMU error calibration method and system. Background Art
[0002] The Inertial Measurement Unit (IMU) is one of the essential sensors for unmanned vehicles. It is used to measure the angular velocity and acceleration of the vehicle. Since the IMU usually has errors such as cross-coupling, bias (or zero bias) and scale factor after leaving the factory, it generally needs to be calibrated before use.
[0003] In the prior art, a dual-axis turntable or a single-axis turntable is often used to calibrate the inertial measurement unit. The dual-axis turntable calibration is generally an 8-position method or a 12-position method, that is, the 3-axis gyroscope and 3-axis accelerometer of the inertial measurement unit are fully calibrated. The full calibration means that the error of each axis can be completely calibrated through a one-time installation. The calibrated inertial measurement unit can be used in vehicle-mounted, airborne, ship-mounted and other fields. The single-axis turntable has only one rotation axis and can only rotate in one direction and in a plane. The 3-axis gyroscope and 3-axis accelerometer cannot be fully calibrated in one installation, and some axial errors cannot be completely calibrated.
[0004] In view of the high demand and tight time for IMU in vehicles, although dual-axis calibration can achieve full calibration, its calibration process is complicated, the IMU calibration time is long, and the calibration efficiency is low. Although the calibration process of the single-axis turntable is simple, it cannot fully calibrate the 3-axis gyroscope and 3-axis accelerometer in one installation, and it needs to be installed again later to achieve full calibration. The efficiency of full calibration of IMU is low. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide an IMU error calibration method and system to overcome at least one of the above-mentioned defects.
[0006] In a first aspect, an embodiment of the present application provides an IMU error calibration method, the method comprising: controlling the movement of a dual-axis turntable to drive an inertial measurement unit fixed on the dual-axis turntable to perform multiple calibration steps, the inertial measurement unit comprising an accelerometer and a gyroscope, the multiple calibration steps comprising a first calibration step of controlling the dual-axis turntable to move around a first axis, a second calibration step of controlling the dual-axis turntable to move around a second axis, and a third calibration step of controlling the dual-axis turntable to move around a third axis; for each calibration step, determining accelerometer calibration data according to acceleration data collected by the accelerometer when executing the calibration step; for each calibration step, determining accelerometer calibration data according to acceleration data collected by the accelerometer when executing the calibration step. The method comprises the following steps: extracting sensor data collected by sensors on each axis of the gyroscope in the first calibration step, determining gyroscope calibration data; extracting accelerometer calibration data corresponding to the first calibration step, the second calibration step and the third calibration step, determining first calibration data for the accelerometer; extracting accelerometer calibration data corresponding to the first calibration step and the third calibration step, determining second calibration data for the accelerometer; determining a calibration result for the accelerometer according to the first calibration data and the second calibration data; extracting gyroscope calibration data of each calibration step, determining third calibration data for the gyroscope, so as to determine the calibration result for the gyroscope.
[0007] In an optional embodiment of the present application, the execution order of the first calibration step precedes the execution order of the second calibration step, and the execution order of the second calibration step precedes the execution order of the third calibration step. Each of the first calibration step, the second calibration step and the third calibration step includes a plurality of action steps and a plurality of static steps that are executed alternately. The execution order of the action steps precedes the execution order of the static steps. Each action step includes controlling the dual-axis turntable to rotate a preset angle around the corresponding axis in a preset rotation direction, and each static step includes controlling the dual-axis turntable to be static for a preset time to collect acceleration data.
[0008] In an optional embodiment of the present application, for each calibration step, the accelerometer calibration data is determined according to the acceleration data collected by the accelerometer when executing the calibration step, including: for each stationary step in the first calibration step, the first acceleration data collected by the accelerometer within a preset time of the stationary step is obtained, the first acceleration data includes a plurality of first accelerations in a first axis, a plurality of second accelerations in a second axis, and a plurality of third accelerations in a third axis; for each stationary step in the first calibration step, according to each axis, according to the sum of the products of the plurality of accelerations in the axis, the plurality of accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, the first accelerometer calibration data corresponding to the stationary step in the axis is determined; for each stationary step in the second calibration step, the second acceleration data collected by the accelerometer within the preset time of the stationary step is obtained, the second acceleration data includes a plurality of first accelerations in the first axis acceleration, multiple second accelerations in the second axis and multiple third accelerations in the third axis; for each stationary step in the second calibration step, according to each axis, according to the multiple accelerations in the axis, the sum of the products of the multiple accelerations and the corresponding sampling moments and the preset time corresponding to the stationary step, determine the second accelerometer calibration data corresponding to the stationary step in the axis; for each stationary step in the third calibration step, obtain the third acceleration data collected by the accelerometer within the preset time of the stationary step, the third acceleration data includes multiple first accelerations in the first axis, multiple second accelerations in the second axis and multiple third accelerations in the third axis; for each stationary step in the third calibration step, according to each axis, according to the multiple accelerations in the axis, the sum of the products of the multiple accelerations and the corresponding sampling moments and the preset time corresponding to the stationary step, determine the third accelerometer calibration data corresponding to the stationary step in the axis.
[0009] In an optional embodiment of the present application, the first calibration data includes the zero bias of the accelerometer in each axis, and the zero bias of the accelerometer in each axis is determined by the following formula:
[0010]
[0011] in, represents the zero bias of the accelerometer on the ath axis, a represents any one of the first axis, the second axis and the third axis, represents the bth stationary step extracted from the first calibration step, the second calibration step, and the third calibration step, 1≤b≤t, t represents the total number of all stationary steps when the ath axis is in a horizontal state, Indicates the accelerometer calibration data corresponding to the b-th stationary step in the a-th axis.
[0012] In an optional embodiment of the present application, the first calibration data further includes a scale factor of the accelerometer in each axis, and the scale factor of the accelerometer in each axis is determined by the following formula:
[0013]
[0014] in, It represents the scale factor of the accelerometer on the ath axis. represents the pth stationary step when the orientation of the ath axial direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state, Indicates the accelerometer calibration data corresponding to the pth stationary step on the ath axis, represents the dth stationary step when the orientation of the ath axis extracted from the first calibration step, the second calibration step, and the third calibration step is in a vertically downward state, It represents the accelerometer calibration data corresponding to the d-th stationary step in the a-th axis, where g is a constant.
[0015] In an optional embodiment of the present application, the first calibration data further includes a cross-coupling coefficient of the accelerometer in each of two axes, and the cross-coupling coefficient of the accelerometer in each of two axes is determined by the following formula:
[0016]
[0017] in, represents the cross-coupling coefficient of the accelerometer on the a-th axis and the e-th axis, and e represents any one of the other two axes except the a-th axis. is the fth stationary step when the direction of the eth axis is in a vertically upward state extracted from the first calibration step, the second calibration step and the third calibration step, represents the accelerometer calibration data corresponding to the a-th axis in the f-th stationary step, is the hth stationary step when the direction of the eth axis is in a vertically downward state extracted from the first calibration step, the second calibration step and the third calibration step, Indicates the accelerometer calibration data corresponding to the hth stationary step in the ath axis.
[0018] In an optional embodiment of the present application, the second calibration data includes the zero bias, the scale factor and the cross-coupling coefficient of the accelerometer in each axis, and the second calibration data of the accelerometer is determined by the following formula:
[0019]
[0020]
[0021] Wherein, K represents the second calibration data of the accelerometer, K is a first matrix with s rows and q columns, the first matrix includes the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis, M is a second matrix with s rows and n columns, each column of the second matrix represents the accelerometer calibration data corresponding to the first axis, the accelerometer calibration data corresponding to the second axis and the accelerometer calibration data corresponding to the third axis in each target stationary step, n represents the total number of target stationary steps, G represents a third matrix with q rows and n columns, and the third matrix includes preset values.
[0022] In an optional embodiment of the present application, determining the calibration result for the accelerometer based on the first calibration data and the second calibration data includes: judging whether the error between the zero bias, proportional factor and cross-coupling coefficient on each axis in the first calibration data and the corresponding data in the second calibration data is within a preset range; if the error is within the preset range, determining that the first calibration data and the second calibration data are the calibration results of the accelerometer; if the error is not within the preset range, re-executing all calibration steps and recalculating the first calibration data and the second calibration data; judging whether the error between the zero bias, proportional factor and cross-coupling coefficient on each axis in the recalculated first calibration data and the corresponding data in the recalculated second calibration data is within the preset range; if the error is within the preset range, determining that the recalculated first calibration data and the recalculated second calibration data are the calibration results of the accelerometer; if the error is not within the preset range, determining the calibration result abnormality as the calibration result for the accelerometer.
[0023] In an optional embodiment of the present application, for each calibration step, the gyroscope calibration data is determined according to the sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step, including: for each calibration step, obtaining the sensor data collected by the sensor on each axis of the gyroscope during the acquisition time when executing the calibration step, the sensor data including a plurality of first angular velocities on a first axis, a plurality of second angular velocities on a second axis, and a plurality of third angular velocities on a third axis; for each calibration step, according to each axis, determining the gyroscope calibration data corresponding to the calibration step on the axis according to the plurality of angular velocities on the axis, the sum of the products of the plurality of angular velocities and the corresponding sampling moments, and the acquisition time corresponding to the calibration step.
[0024] In a second aspect, an embodiment of the present application further provides an IMU error calibration system, the system comprising: a dual-axis turntable for placing an inertial measurement unit; and a control device for executing the method in any of the above optional embodiments.
[0025] The IMU error calibration method and system provided in the embodiment of the present application controls the movement of a dual-axis turntable to drive an inertial measurement unit fixed on the dual-axis turntable to perform multiple calibration steps, and determines the first calibration data for the accelerometer by extracting the accelerometer calibration data corresponding to the first calibration step, the second calibration step, and the third calibration step, and determines the second calibration data for the accelerometer by extracting the accelerometer calibration data corresponding to the first calibration step and the third calibration step. The calibration result for the accelerometer is determined based on the first calibration data and the second calibration data, and the gyroscope calibration data is determined based on the sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step. The gyroscope calibration data of each calibration step is extracted, and the third calibration data for the gyroscope is determined to determine the calibration result for the gyroscope. Through the present application, the reliability of the calibration result is improved.
[0026] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 A flowchart of an IMU error calibration method provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of the position change operation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the 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 of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0031] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied to the calibration field of an inertial measurement unit.
[0032] Through research, it is found that in the prior art, a dual-axis turntable or a single-axis turntable is often used for the calibration of the inertial measurement unit. Although the dual-axis calibration can achieve full calibration, its calibration process is complicated, the IMU calibration time is long, and the calibration efficiency is low. Although the calibration process of the single-axis turntable is simple, it cannot fully calibrate the 3-axis gyroscope and the 3-axis accelerometer in one installation, and it needs to be installed again later to achieve full calibration. The IMU single-axis turntable takes a long time to achieve full calibration. The inertial measurement unit after single-axis calibration is more suitable for vehicle-mounted application, because for vehicle-mounted movement, the vehicle is unlikely to roll or pitch greatly, so some axial errors can be ignored.
[0033] In response to at least one of the above-mentioned problems, an embodiment of the present application provides an IMU error calibration method and system, which controls the movement of a dual-axis turntable to drive an inertial measurement unit fixed on the dual-axis turntable to perform multiple calibration steps, extracts accelerometer calibration data corresponding to the first calibration step, the second calibration step, and the third calibration step, determines the first calibration data for the accelerometer, extracts the accelerometer calibration data corresponding to the first calibration step and the third calibration step, determines the second calibration data for the accelerometer, determines the calibration result for the accelerometer based on the first calibration data and the second calibration data, and determines the gyroscope calibration data based on the sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step, extracts the gyroscope calibration data of each calibration step, determines the third calibration data for the gyroscope, and determines the calibration result for the gyroscope based on the third calibration data. Through the present application, the reliability of the calibration result is improved.
[0034] See also Figure 1 , Figure 1 Flow chart of the error calibration method of the IMU provided in the embodiment of the present application. Figure 1 As shown in , the IMU error calibration method provided in the embodiment of the present application includes:
[0035] S101, controlling the movement of the dual-axis turntable to drive the inertial measurement unit fixed on the dual-axis turntable to perform multiple calibration steps.
[0036] An inertial measurement unit (IMU) is fixed on a dual-axis turntable, and the dual-axis turntable is controlled to perform multiple calibration steps. Here, the inertial measurement unit includes an accelerometer and a gyroscope, which are a three-axis gyroscope and a three-axis accelerometer. The multiple calibration steps include a first calibration step of controlling the dual-axis turntable to move around a first axis, a second calibration step of controlling the dual-axis turntable to move around a second axis, and a third calibration step of controlling the dual-axis turntable to move around a third axis.
[0037] Specifically, the specific actions of multiple calibration steps are as follows:
[0038] The first step is to rotate around the Y axis as follows: (z axis is downward, x axis is northward, y axis is eastward).
[0039] Step 1: Stay in the starting position for 10 seconds.
[0040] Step 2: Rotate 90 degrees around the Y axis, with a maximum rotation speed of 15 degrees per second and an angular acceleration of 1 degree per second 2 .
[0041] Step 3: Stay still for 10 seconds.
[0042] Step 4: Rotate 180 degrees around the Y axis, with a maximum rotation speed of 15 degrees per second and an angular acceleration of 1 degree per second. 2 .
[0043] Step 5: Stay still for 10 seconds.
[0044] Step 6: Rotate 90 degrees around the Y axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0045] Step 7: Stay still for 10 seconds.
[0046] Step 8: Rotate 180 degrees around the Y axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0047] Step 9: Stay still for 10 seconds.
[0048] In the second step, the rotation around the Z axis is as follows: (z axis is downward, x axis is northward, y axis is eastward).
[0049] Step 10: Rotate 180 degrees around the Z axis, with a maximum rotation speed of 15 degrees per second and an angular acceleration of 1 degree per second. 2 .
[0050] Step 11: Stay still for 10 seconds.
[0051] Step 12: Rotate 180 degrees around the Z axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0052] Step 13: Stay still for 10 seconds.
[0053] Step 14: Rotate 90 degrees around the Z axis.
[0054] Step 15: Stay still for 10 seconds.
[0055] The third step is to rotate around the X-axis as follows: (x-axis faces east, y-axis faces south, and z-axis faces downward).
[0056] Step 16: Rotate 90 degrees around the X axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0057] Step 17: Stay still for 10 seconds.
[0058] Step 18: Rotate 180 degrees around the X axis, with a maximum rotation speed of 15 degrees per second and an angular acceleration of 1 degree per second. 2 .
[0059] Step 19: Stay still for 10 seconds.
[0060] Step 20: Rotate 90 degrees around the X axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0061] Step 21: Stay still for 10 seconds.
[0062] Step 22: Rotate 180 degrees around the X axis, with a maximum rotation speed of 15 deg / s and an angular acceleration of 1 deg / s 2 .
[0063] Step 23: After 10 seconds of rest, the calibration is completed.
[0064] Preferably, the stationary time at the starting position in step 1 is 10 seconds, which is consistent with the stationary time of other stationary steps and is a unified variable. The stationary time at the starting position in step 1 can also be 20 seconds. Considering that there will be jitter before the dual-axis turntable starts, stabilization time is left for the dual-axis turntable. The 20 seconds here can be set according to actual conditions and is not specifically limited here.
[0065] The first axial direction, the second axial direction and the third axial direction correspond to the X-axis, the Y-axis and the Z-axis respectively. For example, the first axial direction is the Y-axis, the second axial direction is the Z-axis and the third axial direction is the X-axis. Then the multiple calibration steps include a first calibration step for controlling the dual-axis turntable to move around the Y-axis, a second calibration step for moving around the Z-axis and a third calibration step for moving around the X-axis.
[0066] Specifically, the dual-axis turntable fixed with the inertial measurement unit is controlled to be placed corresponding to the preset axes of the starting position. For example, the preset axes are Z axis facing downward, X axis facing north, and Y axis facing east. Then the dual-axis turntable is controlled according to the specific content of each calibration step, and the two axes start to perform single-axis calibration along another axis.
[0067] Here, the execution order of the first calibration step of movement around the Y-axis precedes the execution order of the second calibration step of movement around the Z-axis, and the execution order of the second calibration step of movement around the Z-axis precedes the execution order of the third calibration step of movement around the X-axis. Each calibration step in the first calibration step, the second calibration step and the third calibration step includes multiple action steps and multiple static steps that are executed alternately. The execution order of the action steps precedes the execution order of the static steps. Each action step includes controlling the dual-axis turntable to rotate around the corresponding axis in a preset rotation direction at a preset angle, and each static step includes controlling the dual-axis turntable to be static for a preset time to collect acceleration data.
[0068] Specifically, the acquisition time of the first stationary step in the first calibration step is 20 seconds. This is because when the dual-axis turntable is placed according to the preset axial direction, the dual-axis turntable may have a small swing at the starting moment. A longer stationary time can improve the accuracy of the collected acceleration data. The acquisition time of all other stationary steps is 10 seconds. The purpose is to ensure that the accelerometer acquisition time of each stationary step is the same, which can also improve the accuracy of the collected acceleration data.
[0069] S102 . For each calibration step, determine accelerometer calibration data according to acceleration data collected by the accelerometer when executing the calibration step.
[0070] For each stationary step in the first calibration step, first acceleration data collected by the accelerometer within a preset time of the stationary step is obtained.
[0071] See also Figure 2 , Figure 2 A schematic diagram of the position change operation provided in an embodiment of the present application.
[0072] Here, for each stationary step in the first calibration step of movement around the Y-axis, that is, step 1, step 3, step 5, step 7 and step 9, the preset time is set to 10 seconds, and the first acceleration data of the accelerometer within 10 seconds of stationary in step 1, step 3, step 5, step 7 and step 9 is obtained, and the first acceleration data includes multiple first accelerations in the Y-axis direction, multiple second accelerations in the Z-axis direction, and multiple third accelerations in the X-axis direction.
[0073] For each stationary step in the first calibration step, according to each axial direction, based on multiple accelerations on the axial direction, the sum of the products of the multiple accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, determine the first accelerometer calibration data corresponding to the stationary step on the axial direction.
[0074] For example, taking step 1 as an example, the first acceleration data includes multiple first accelerations in the Y-axis direction, multiple second accelerations in the Z-axis direction, and multiple third accelerations in the X-axis direction. Taking the calculation of the first acceleration calibration data in the Y-axis direction as an example, the multiple first accelerations in the Y-axis direction, the sum of the products of the multiple first accelerations and the corresponding sampling moments are calculated, and the sum of the products is divided by the total sampling time difference, where the total sampling time difference is 10 seconds, and the average value of the first acceleration is calculated, and the average value is determined as the first accelerometer calibration data corresponding to the Y-axis direction in step 1.
[0075] For each stationary step in the second calibration step, second acceleration data collected by the accelerometer within a preset time of the stationary step is obtained, and the second acceleration data includes multiple first accelerations in the first axis, multiple second accelerations in the second axis, and multiple third accelerations in the third axis.
[0076] Here, for each stationary step in the second calibration step of movement around the Z axis, that is, step 11, step 13 and step 15, the preset time is set to 10 seconds, and the second acceleration data of the accelerometer within 10 seconds of stationary in step 11, step 13 and step 15 is obtained, and the second acceleration data includes multiple first accelerations in the Y axis direction, multiple second accelerations in the Z axis direction, and multiple third accelerations in the X axis direction.
[0077] For each stationary step in the second calibration step, according to each axial direction, based on multiple accelerations on the axial direction, the sum of the products of the multiple accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, determine the second accelerometer calibration data corresponding to the stationary step on the axial direction.
[0078] For example, taking step 11 as an example, the second acceleration data includes multiple first accelerations in the Y-axis direction, multiple second accelerations in the Z-axis direction, and multiple third accelerations in the X-axis direction. Taking the calculation of the second acceleration calibration data in the Z-axis direction as an example, the multiple second accelerations in the Z-axis direction, the sum of the products of the multiple second accelerations and the corresponding sampling moments are calculated, and the sum of the products is divided by the total sampling time difference, where the total sampling time difference is 10 seconds, and the average value of the second acceleration is calculated, and the average value is determined as the second accelerometer calibration data corresponding to the Z-axis in step 11.
[0079] For each stationary step in the third calibration step, third acceleration data collected by the accelerometer within a preset time of the stationary step is obtained, and the third acceleration data includes multiple first accelerations in the first axis, multiple second accelerations in the second axis, and multiple third accelerations in the third axis.
[0080] Here, for each stationary step in the third calibration step of moving around the X-axis, that is, step 17, step 19, step 21 and step 23, the preset time is set to 10 seconds, and the third acceleration data of the accelerometer within 10 seconds of being stationary in steps 17, step 19, step 21 and step 23 is obtained. The third acceleration data includes multiple first accelerations in the Y-axis direction, multiple second accelerations in the Z-axis direction, and multiple third accelerations in the X-axis direction.
[0081] For each stationary step in the third calibration step, according to each axial direction, based on multiple accelerations on the axial direction, the sum of the products of the multiple accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, determine the third accelerometer calibration data corresponding to the stationary step on the axial direction.
[0082] For example, taking step 17 as an example, the third acceleration data includes multiple first accelerations in the Y-axis direction, multiple second accelerations in the Z-axis direction, and multiple third accelerations in the X-axis direction. Taking the calculation of the third acceleration calibration data in the X-axis direction as an example, the multiple third accelerations in the X-axis direction, the sum of the products of the multiple third accelerations and the corresponding sampling moments are calculated, and the sum of the products is divided by the total sampling time difference, where the total sampling time difference is 10 seconds, and the average value of the third acceleration is calculated, and the average value is determined as the third accelerometer calibration data corresponding to the X-axis direction in step 17.
[0083] S103 . For each calibration step, determine gyroscope calibration data according to sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step.
[0084] For each calibration step, sensor data collected by the gyroscope during the collection time when executing the calibration step is obtained, and the first sensor data includes multiple first angular velocities on the first axis, multiple second angular velocities on the second axis, and multiple third angular velocities on the third axis.
[0085] For each calibration step, according to each axis, the gyroscope calibration data corresponding to the calibration step on the axis is determined based on multiple angular velocities on the axis, the sum of the products of the multiple angular velocities and the corresponding sampling moments, and the acquisition time corresponding to the calibration step.
[0086] For example, taking step 1 as an example, the first sensor data includes multiple first angular velocities in the Y-axis direction, multiple second angular velocities in the Z-axis direction, and multiple third angular velocities in the X-axis direction. Taking the calculation of the gyroscope calibration data in the Y-axis direction as an example, the multiple first angular velocities in the Y-axis direction, the sum of the products of the multiple first angular velocities and the corresponding sampling moments are calculated, and the sum of the products is divided by the total sampling time difference, where the total sampling time difference is 10 seconds, and the average value of the first angular velocities is calculated, and the average value is determined as the gyroscope calibration data corresponding to the Y-axis in step 1.
[0087] According to the gyroscope calibration data corresponding to each axial direction in each calibration step, third calibration data for the gyroscope is determined, and the third calibration data includes the zero bias, scale factor and cross-coupling coefficient corresponding to the gyroscope in each axial direction.
[0088] The zero bias of each axis of the gyroscope is determined by the following formula:
[0089]
[0090] in, represents the zero bias of the gyroscope on the ath axis, a represents any one of the first axis, the second axis and the third axis, represents the cth stationary step extracted from the first calibration step, the second calibration step, and the third calibration step, 1≤c≤u, u represents the total number of all stationary steps when the ath axis is in a horizontal state, Indicates the gyroscope calibration data corresponding to the c-th stationary step in the a-th axis.
[0091] Here, the stationary steps extracted from the first calibration step, the second calibration step, and the third calibration step are step 1, step 3, step 5, step 7, step 9, step 11, step 13, step 15, step 17, step 19, step 21, and step 23, respectively, u=12, The calculation method of the gyroscope's zero bias in the X-axis direction, the gyroscope's zero bias in the Y-axis direction, and the gyroscope's zero bias in the Z-axis direction are the same as the gyroscope's zero bias in the X-axis direction, all of which take the above 12 static steps, which will not be repeated here.
[0092] The scale factor for each axis of the gyroscope is determined by the following formula:
[0093]
[0094] in, represents the scale factor of the gyroscope on the ath axis, It represents the vth calibration step of the ath axis rotating 180 degrees forward extracted from multiple calibration steps. represents the gyroscope calibration data corresponding to the a-th axis in the v-th calibration step, represents the wth calibration step with the ath axis reversed by 180 degrees extracted from multiple calibration steps, Indicates the gyroscope calibration data corresponding to the w-th calibration step on the a-th axis.
[0095] Taking the calculation of the scale factor of the gyroscope in the X-axis direction as an example, the calibration step of rotating 180 degrees in the X-axis direction forwardly extracted from multiple calibration steps is step 18, and the calibration step of reversing 180 degrees in the X-axis direction extracted from multiple calibration steps is step 22. For example, when calculating the scale factor of the gyroscope in the X-axis direction, in step 18, the gyroscope calibration data corresponding to the X-axis direction needs to be subtracted from the zero bias of the gyroscope in the X-axis direction before calculation, and then substituted into the above formula for calculation to reduce the error and ensure the reliability of the calibration result. Similarly, the scale factor of the gyroscope in the Y-axis direction, the scale factor of the gyroscope in the Z-axis direction, and the cross-coupling coefficient of the gyroscope in each two axes are calculated. The zero bias of the corresponding axis is subtracted and then substituted into the formula for calculation, which will not be repeated here.
[0096] The cross-coupling coefficient of the gyroscope in each of the two axes is determined by the following formula:
[0097]
[0098] in, represents the cross-coupling coefficient of the gyroscope on the a-th axis and the e-th axis, It represents the Vth calibration step of rotating the eth axis 180 degrees forward from multiple calibration steps. represents the gyroscope calibration data corresponding to the a-th axis in the V-th calibration step, represents the Wth calibration step with the eth axis reversed by 180 degrees extracted from multiple calibration steps, Indicates the gyroscope calibration data corresponding to the W-th calibration step on the a-th axis.
[0099] For example, the ath axis is the X axis and the eth axis is the Z axis. xz represents the cross-coupling coefficient of the gyroscope in the X-axis and Z-axis directions, the calibration step of rotating the Z-axis 180 degrees forward extracted from the multiple calibration steps is step 10, and the calibration step of rotating the Z-axis 180 degrees reversely extracted from the multiple calibration steps is step 12, Indicates the gyroscope calibration data corresponding to the X-axis in the 10th calibration step.
[0100] Calculate n xyThe extracted calibration step of rotating the Y axis forward 180 degrees is step 4, and the extracted calibration step of rotating the Y axis backward 180 degrees from multiple calibration steps is step 8.
[0101] Calculate n yx The extracted calibration step of rotating the X-axis 180 degrees forward is step 18, and the extracted calibration step of rotating the X-axis 180 degrees reversely is step 22 from the multiple calibration steps.
[0102] Calculate n yz 、n xy 、n zy 、n yx and n zx The same method as above is used to calculate n xz The calculation method is the same as that of , which will not be described here.
[0103] S104, extracting accelerometer calibration data corresponding to the first calibration step, the second calibration step, and the third calibration step, and determining first calibration data for the accelerometer.
[0104] The first calibration data includes zero bias, scale factor and cross-coupling coefficient in each axis, totally 12 values.
[0105] The zero bias of the accelerometer in each axis is determined by the following formula:
[0106] in, represents the zero bias of the accelerometer on the ath axis, a represents any one of the first axis, the second axis and the third axis, represents the bth stationary step extracted from the first calibration step, the second calibration step, and the third calibration step, 1≤b≤t, t represents the total number of all stationary steps when the ath axis is in a horizontal state, Indicates the accelerometer calibration data corresponding to the b-th stationary step in the a-th axis.
[0107] For example, the zero bias of the accelerometer in each axis is determined by the following formula:
[0108]
[0109] Specifically, is the zero bias of the accelerometer in the X-axis direction. The stationary steps when the X-axis direction is in a horizontal state are step 1, step 7, step 9, step 11, step 13, step 15, step 17, step 19, step 21 and step 23. t=10. The unit of the zero bias of the accelerometer in each axis is m / s 2 , the zero bias of the accelerometer is normally 0m / s in the horizontal state 2, because of the error, the data collected by the accelerometer is generally not 0 m / s 2 .
[0110]
[0111] Specifically, is the zero bias of the accelerometer in the Y-axis direction. The stationary steps when the Y-axis direction is in a horizontal state are step 1, step 3, step 5, step 7, step 9, step 11, step 13, step 15, step 21 and step 23, and t=10.
[0112]
[0113] Specifically, is the zero bias of the accelerometer in the Z-axis direction. The stationary steps when the Z-axis is in a horizontal state are step 3, step 5, step 17 and step 19, and t=4.
[0114] The scale factor of the accelerometer in each axis is determined by the following formula:
[0115]
[0116] in, represents the scale factor of the accelerometer along the ath axis, represents the pth stationary step when the orientation of the ath axial direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state, Indicates the accelerometer calibration data corresponding to the pth stationary step on the ath axis, represents the dth stationary step when the orientation of the ath axis extracted from the first calibration step, the second calibration step, and the third calibration step is in a vertically downward state, It represents the accelerometer calibration data corresponding to the d-th stationary step in the a-th axis, where g is a constant.
[0117] For example, the scale factor of the accelerometer on each axis is determined by the following formula:
[0118]
[0119] Specifically, is the scale factor of the accelerometer in the X-axis direction. The stationary step when the X-axis direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state is step 3. The stationary step when the X-axis direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically downward state is step 5. g=9.8m / s2. When calculating the scale factor of the accelerometer in the X-axis direction, the accelerometer calibration data corresponding to the third calibration step in the X-axis direction must be subtracted from the zero bias of the accelerometer in the X-axis direction before calculation, and then substituted into the above formula for calculation to reduce the error and ensure the reliability of the calibration result. Similarly, the scale factor of the accelerometer in the Y-axis direction, the scale factor of the accelerometer in the Z-axis direction and the cross-coupling coefficient of the accelerometer in each two axes are calculated. The zero bias of the corresponding axis is subtracted and then substituted into the formula for calculation, which will not be repeated here.
[0120]
[0121] Specifically, is the scale factor of the accelerometer in the Y-axis direction. The stationary step when the direction of the Y-axis extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state is step 19, and the stationary step when the direction of the Y-axis extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically downward state is step 17.
[0122]
[0123] Specifically, is the scale factor of the accelerometer in the Z-axis direction, the stationary step when the Z-axis direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state is step 7, and the stationary step when the Z-axis direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically downward state is step 9.
[0124] The stationary steps when the Z-axis direction is in a vertically upward state extracted from the first calibration step, the second calibration step and the third calibration step are steps 7 and 21, and the stationary steps when the Z-axis direction is in a vertically downward state extracted from the first calibration step, the second calibration step and the third calibration step are steps 9 and 23. Here, the adjacent steps 7 and 9 are taken as examples to calculate the scale factor of the accelerometer in each axis, and the scale factor of the accelerometer in each axis can also be calculated by extracting steps 21 and 23.
[0125] The cross-coupling coefficient of the accelerometer in each of the two axes is determined by the following formula:
[0126]
[0127] in, represents the cross-coupling coefficient of the accelerometer on the a-th axis and the e-th axis, and e represents any one of the other two axes except the a-th axis. is the fth stationary step when the direction of the eth axis is in a vertically upward state extracted from the first calibration step, the second calibration step and the third calibration step, represents the accelerometer calibration data corresponding to the a-th axis in the f-th stationary step, is the hth stationary step when the direction of the eth axis is in a vertically downward state extracted from the first calibration step, the second calibration step and the third calibration step, Indicates the accelerometer calibration data corresponding to the hth stationary step in the ath axis.
[0128]
[0129] For example, It represents the cross-coupling coefficient of the accelerometer in the X-axis and Z-axis directions. The stationary step when the Z-axis direction is in a vertically upward state extracted from the first calibration step, the second calibration step and the third calibration step is step 7. The stationary step when the Z-axis direction is in a vertically downward state extracted from the first calibration step, the second calibration step and the third calibration step is step 1. Here, h=1. When the accelerometer collects the acceleration when the Z-axis direction is in a vertically upward state, the acceleration standard data is +9.8 m / s 2 When collecting the acceleration when the Z-axis direction is in a vertical downward state, the acceleration standard data is -9.8 m / s 2 .
[0130]
[0131]
[0132]
[0133]
[0134]
[0135] The calculation of the above formula is similar to the cross-coupling coefficient of the accelerometer in the X-axis and Z-axis directions, which will not be described in detail here.
[0136] S105: extracting accelerometer calibration data corresponding to the first calibration step and the third calibration step, and determining second calibration data for the accelerometer.
[0137] The second calibration data includes the zero bias, scale factor and cross-coupling coefficient of the accelerometer in each axis. The second calibration data of the accelerometer is determined by the following formula:
[0138]
[0139]
[0140] Wherein, K represents the second calibration data of the accelerometer, K is a first matrix with s rows and q columns, the first matrix includes the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis, M is a second matrix with s rows and n columns, each column of the second matrix represents the accelerometer calibration data corresponding to the first axis, the accelerometer calibration data corresponding to the second axis and the accelerometer calibration data corresponding to the third axis in each target stationary step, n represents the total number of target stationary steps, G represents a third matrix with q rows and n columns, and the third matrix includes preset values.
[0141]
[0142]
[0143]
[0144] Specifically, K is a first matrix of three rows and four columns, M is a second matrix of three rows and six columns, each column in M represents the accelerometer calibration data corresponding to the first axis, the accelerometer calibration data corresponding to the second axis, and the accelerometer calibration data corresponding to the third axis in each target stationary step, the target stationary steps are step 1, step 3, step 5, step 7, step 17 and step 19, G is a preset matrix, and the second calibration data K is obtained according to calculation, K includes the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis.
[0145] S106: Determine a calibration result for the accelerometer according to the first calibration data and the second calibration data.
[0146] It is determined whether the error between the zero bias, the proportional factor and the cross-coupling coefficient on each axis in the first calibration data and the corresponding data in the second calibration data is within a preset range.
[0147] The first calibration data includes 12 specific values of the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis direction. The second calibration data is a first matrix with three rows and four columns. The first matrix includes 12 specific values of the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis direction. The 12 specific values of the first calibration data are compared with the corresponding values in the matrix of the second calibration data to determine whether the error is within a preset range. Preferably, the preset range can be 0.2.
[0148] If the error is within a preset range, the first calibration data and the second calibration data are determined to be calibration results of the accelerometer.
[0149] If the error is not within the preset range, all calibration steps are re-executed to recalculate the first calibration data and the second calibration data.
[0150] If the error is less than or equal to 0.2, the first calibration data and the second calibration data are determined to be the calibration results of the accelerometer. If the error is greater than 0.2, the dual-axis turntable is re-controlled to perform multiple calibration steps and the first calibration data and the second calibration data are recalculated.
[0151] It is determined whether the error between the zero bias, the proportional factor and the cross-coupling coefficient on each axis in the recalculated first calibration data and the corresponding data in the recalculated second calibration data is within a preset range.
[0152] If the error is within a preset range, the recalculated first calibration data and the recalculated second calibration data are determined to be calibration results of the accelerometer.
[0153] The method for determining the error between the recalculated first calibration data and the second calibration data is consistent with the method for determining the error between the first calibration data and the second calibration data when performing the plurality of calibration steps for the first time, and will not be described in detail here.
[0154] If the error is not within the preset range, the calibration result is determined to be abnormal as a calibration result for the accelerometer.
[0155] If the error is greater than 0.2, the calibration result is determined to be abnormal and is determined to be the calibration result for the accelerometer, and is treated as a defective part.
[0156] S107, extracting the gyroscope calibration data of each calibration step, determining third calibration data for the gyroscope, and determining a calibration result for the gyroscope.
[0157] The gyroscope calibration data on each axis of each calibration step is extracted, and the third calibration data is determined to be the calibration result for the gyroscope, that is, the zero bias, proportional factor and cross-coupling coefficient on each axis of the gyroscope are the calibration results for the gyroscope.
[0158] Write the calibration results of the accelerometer and the gyroscope into a fixed folder on the external computer to facilitate the traceability of the IMU calibration results.
[0159] The IMU error calibration method and system provided in the embodiment of the present application controls the movement of a dual-axis turntable to drive an inertial measurement unit fixed on the dual-axis turntable to perform multiple calibration steps, determine first calibration data and second calibration data for the accelerometer, determine the calibration result for the accelerometer based on the first calibration data and the second calibration data, and determine third calibration data for the gyroscope based on sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step, and determine the calibration result for the gyroscope based on the third calibration data. Through the present application, the reliability of the calibration result is improved.
[0160] An embodiment of the present application also provides an IMU error calibration system corresponding to the IMU error calibration method, and the IMU error calibration system includes: a dual-axis turntable for placing an inertial measurement unit; and a control device for executing the method in any of the above optional embodiments.
[0161] The present application adopts a dual-axis turntable, and the inertial measurement unit calibration for vehicle-mounted applications can achieve efficient single-axis calibration. For example, it can be completed within 2.5 minutes. At the same time, full calibration can also be achieved for non-vehicle-mounted applications. Preferably, it can be completed within 10 minutes. That is, an IMU error calibration method and system take into account a simplified version of single-axis calibration, which is efficient and suitable for vehicle-mounted applications, and can also achieve full calibration. Cross-validating the first calibration data with the second calibration data can improve the reliability of the calibration result.
[0162] In the first calibration step of movement around the Y-axis in this application, the X-axis is rotated 90 degrees, the X-axis rotates from a horizontal state to a vertical state, and the Z-axis is in a horizontal state, which is equivalent to the X-axis and the Z-axis rotating around the Y-axis at the same time. Then the single-axis calibration method around the Y-axis is also applicable to the single-axis calibration around the Z-axis. Therefore, only calibrating the Z-axis is a simplified version of the single-axis calibration solution. The vehicle pays more attention to the Z-axis because the Z-axis is the heading axis of the gyroscope.
[0163] The multiple calibration steps of the dual-axis turntable in the present application do not require the execution of all calibration steps to complete the pure single-axis calibration of the inertial measurement unit used in the vehicle, which greatly improves the calibration efficiency.
[0164] In the first calibration step around the Y axis, the X axis is rotated 90 degrees. There is no need to run the second calibration step around the Z axis and the third calibration step around the X axis. This can be transformed into a simplified single-axis calibration, which can be applied to the calibration of the vehicle-mounted inertial measurement unit. The gyroscope X-axis zero bias, Y-axis zero bias, Z-axis zero bias, gyroscope Z-axis scale factor, gyroscope cross-coupling n xz , n yz , accelerometer X-axis zero bias, Y-axis zero bias, Z-axis zero bias, accelerometer X-axis, Y-axis scale factor, accelerometer cross coupling k xy , k zy , k yx and k zx , the calibration efficiency is higher, large-scale calibration can be carried out in a short time, and the calibration productivity is improved.
[0165] By sequentially executing the first calibration step for movement around the Y-axis, the second calibration step for movement around the Z-axis, and the third calibration step for movement around the X-axis, the full calibration of the 12 positions of the dual-axis turntable can be performed. The inertial measurement unit that has been fully calibrated has a wider range of applications.
[0166] In this application, through multiple calibration steps, the dual-axis turntable is rotated to 12 positions to measure data, and the traditional algorithm of single-axis calibration and the least squares algorithm are used to calculate the zero bias, proportional factor, and cross-coupling. The results calculated by the two are verified to determine the calibration result for the accelerometer, ensure the reliability of the calibration result, and improve the calibration quality.
[0167] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0168] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0169] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0171] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0172] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An IMU error calibration method, characterized in that: include: Controlling the movement of the dual-axis turntable to drive an inertial measurement unit fixed on the dual-axis turntable to perform a plurality of calibration steps, wherein the inertial measurement unit includes an accelerometer and a gyroscope, and the plurality of calibration steps include a first calibration step of controlling the dual-axis turntable to move around a first axial direction, a second calibration step of controlling the dual-axis turntable to move around a second axial direction, and a third calibration step of controlling the dual-axis turntable to move around a third axial direction, wherein the execution order of the first calibration step precedes the execution order of the second calibration step, and the execution order of the second calibration step precedes the execution order of the third calibration step, and each calibration step in the first calibration step, the second calibration step, and the third calibration step includes a plurality of action steps and a plurality of static steps that are executed alternately, and the execution order of the action steps precedes the execution order of the static steps, and each action step includes controlling the dual-axis turntable to rotate around a corresponding axial direction by a preset angle in a preset rotation direction, and each static step includes controlling the dual-axis turntable to be static for a preset time, so as to collect acceleration data; For each stationary step in the first calibration step, first acceleration data collected by the accelerometer within a preset time of the stationary step is obtained, wherein the first acceleration data includes a plurality of first accelerations in a first axial direction, a plurality of second accelerations in a second axial direction, and a plurality of third accelerations in a third axial direction; For each stationary step in the first calibration step, according to each axial direction, according to a sum of multiple accelerations on the axial direction, the products of the multiple accelerations and the corresponding sampling moments, and a preset time corresponding to the stationary step, determine the first accelerometer calibration data corresponding to the stationary step on the axial direction; For each stationary step in the second calibration step, second acceleration data collected by the accelerometer within a preset time of the stationary step is obtained, wherein the second acceleration data includes a plurality of first accelerations in a first axial direction, a plurality of second accelerations in a second axial direction, and a plurality of third accelerations in a third axial direction; For each stationary step in the second calibration step, according to each axial direction, according to the sum of multiple accelerations on the axial direction, the products of the multiple accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, determine the second accelerometer calibration data corresponding to the stationary step on the axial direction; For each stationary step in the third calibration step, obtaining third acceleration data collected by the accelerometer within a preset time of the stationary step, wherein the third acceleration data includes a plurality of first accelerations in a first axial direction, a plurality of second accelerations in a second axial direction, and a plurality of third accelerations in a third axial direction; For each stationary step in the third calibration step, according to each axial direction, according to the sum of multiple accelerations on the axial direction, the products of the multiple accelerations and the corresponding sampling moments, and the preset time corresponding to the stationary step, determine the third accelerometer calibration data corresponding to the stationary step on the axial direction; For each calibration step, determining gyroscope calibration data according to sensor data collected by sensors on each axis of the gyroscope when executing the calibration step; Extracting accelerometer calibration data corresponding to the first calibration step, the second calibration step, and the third calibration step, and determining first calibration data for the accelerometer; Extracting the accelerometer calibration data corresponding to the first calibration step and the third calibration step, and determining second calibration data for the accelerometer; Determining a calibration result for the accelerometer according to the first calibration data and the second calibration data; The gyroscope calibration data of each calibration step is extracted, and the third calibration data for the gyroscope is determined to determine the calibration result for the gyroscope.
2. The IMU error calibration method according to claim 1, characterized in that: The first calibration data includes the zero bias of the accelerometer in each axis, and the zero bias of the accelerometer in each axis is determined by the following formula: in, represents the zero bias of the accelerometer on the ath axis, a represents any one of the first axis, the second axis and the third axis, stageb represents the bth stationary step extracted from the first calibration step, the second calibration step and the third calibration step, 1≤b≤t, t represents the total number of all stationary steps when the ath axis is in a horizontal state, Indicates the accelerometer calibration data corresponding to the b-th stationary step in the a-th axis.
3. The error calibration method of IMU according to claim 2, characterized in that: The first calibration data also includes a scale factor of the accelerometer in each axis, and the scale factor of the accelerometer in each axis is determined by the following formula: in, represents the scale factor of the accelerometer along the ath axis, represents the pth stationary step when the orientation of the ath axial direction extracted from the first calibration step, the second calibration step and the third calibration step is in a vertically upward state, represents the accelerometer calibration data corresponding to the pth stationary step on the ath axis, represents the dth stationary step when the orientation of the ath axis extracted from the first calibration step, the second calibration step, and the third calibration step is in a vertically downward state, It represents the accelerometer calibration data corresponding to the d-th stationary step in the a-th axis, where g is a constant.
4. The IMU error calibration method according to claim 3, characterized in that: The first calibration data also includes a cross-coupling coefficient of the accelerometer in each of two axes, and the cross-coupling coefficient of the accelerometer in each of two axes is determined by the following formula: in, represents the cross-coupling coefficient of the accelerometer on the a-th axis and the e-th axis, and e represents any one of the other two axes except the a-th axis. is the fth stationary step when the direction of the eth axis is in a vertically upward state extracted from the first calibration step, the second calibration step and the third calibration step, represents the accelerometer calibration data corresponding to the a-th axis in the f-th stationary step, is the hth stationary step when the direction of the eth axis is in a vertically downward state extracted from the first calibration step, the second calibration step and the third calibration step, Indicates the accelerometer calibration data corresponding to the hth stationary step in the ath axis.
5. The IMU error calibration method according to claim 1, characterized in that: The second calibration data includes the zero bias, the scale factor and the cross-coupling coefficient of the accelerometer in each axis direction. The second calibration data of the accelerometer is determined by the following formula: Wherein, K represents the second calibration data of the accelerometer, K is a first matrix with s rows and q columns, the first matrix includes the zero bias, proportional factor and cross-coupling coefficient of the accelerometer in each axis, M is a second matrix with s rows and n columns, each column of the second matrix represents the accelerometer calibration data corresponding to the first axis, the accelerometer calibration data corresponding to the second axis and the accelerometer calibration data corresponding to the third axis in each target stationary step, n represents the total number of target stationary steps, G represents a third matrix with q rows and n columns, and the third matrix includes preset values.
6. The IMU error calibration method according to claim 5, characterized in that: Determining a calibration result for the accelerometer according to the first calibration data and the second calibration data includes: Determine whether the error between the zero bias, the proportional factor and the cross-coupling coefficient on each axis in the first calibration data and the corresponding data in the second calibration data is within a preset range; If the error is within a preset range, determining that the first calibration data and the second calibration data are calibration results of the accelerometer; If the error is not within the preset range, re-execute all calibration steps and recalculate the first calibration data and the second calibration data; Determine whether the error between the zero bias, the proportional factor and the cross-coupling coefficient on each axis in the recalculated first calibration data and the corresponding data in the recalculated second calibration data is within a preset range; If the error is within a preset range, determining the recalculated first calibration data and the recalculated second calibration data as calibration results of the accelerometer; If the error is not within a preset range, the calibration result abnormality is determined as a calibration result for the accelerometer.
7. The IMU error calibration method according to claim 1, characterized in that: For each calibration step, determining the gyroscope calibration data according to the sensor data collected by the sensor on each axis of the gyroscope when executing the calibration step includes: For each calibration step, obtaining sensor data collected by the sensor in each axial direction of the gyroscope during the collection time when the calibration step is performed, wherein the sensor data includes a plurality of first angular velocities in a first axial direction, a plurality of second angular velocities in a second axial direction, and a plurality of third angular velocities in a third axial direction; For each calibration step, according to each axial direction, the gyroscope calibration data corresponding to the calibration step on the axial direction is determined based on multiple angular velocities on the axial direction, the sum of the products of the multiple angular velocities and the corresponding sampling moments, and the acquisition time corresponding to the calibration step.
8. An IMU error calibration system, characterized in that: include: A two-axis turntable for placing the inertial measurement unit; A control device for executing the method according to any one of claims 1 to 7.
