CN111879971A - Method for calibrating accelerometer in IMU and related device - Google Patents
Method for calibrating accelerometer in IMU and related device Download PDFInfo
- Publication number
- CN111879971A CN111879971A CN202011037268.4A CN202011037268A CN111879971A CN 111879971 A CN111879971 A CN 111879971A CN 202011037268 A CN202011037268 A CN 202011037268A CN 111879971 A CN111879971 A CN 111879971A
- Authority
- CN
- China
- Prior art keywords
- area
- accelerometer
- acceleration
- region
- deceleration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P21/00—Testing or calibrating of apparatus or devices covered by the preceding groups
Abstract
The embodiment of the application discloses a calibration method and a related device of an accelerometer in an IMU (inertial measurement Unit), wherein the method comprises the following steps: setting a datum line of the accelerometer; taking the datum line as a reference, and acquiring the area of an acceleration region above the datum line in the process that the accelerometer completes one-time acceleration and decelerationAnd the area of the deceleration zone below the datum line(ii) a According to the area of the acceleration regionAnd area of deceleration regionThe relationship between the accelerometer and the reference point, and the calibration of the accelerometerThe calibration parameters comprise scale coefficients corresponding to the acceleration regionAnd scale factor corresponding to deceleration region. According to the technical scheme, the accelerometer can be calibrated by utilizing the size relation of the acceleration area and the deceleration area, the precision of the accelerometer is improved, and therefore the accuracy of the measurement result of the accelerometer is improved.
Description
Technical Field
The application relates to the technical field of inertial measurement, in particular to a calibration method of an accelerometer in an IMU and a related device.
Background
An IMU (Inertial Measurement Unit) is a device consisting of a gyroscope and an accelerometer, and is used to measure the attitude angle (or angular rate) and acceleration of an object. Because of its advantages of small volume, light weight and low cost, it is widely used in the equipments which need to control the movement, such as cars and robots, and also in the occasions which need to use the attitude to calculate the precise displacement, such as the inertial navigation equipments of submarines, airplanes, missiles and spacecrafts.
The accelerometer is one of the core elements of the IMU, and because the accelerometer is easily interfered by various factors, the accuracy of the accelerometer is not high, so that the calibration of the accelerometer is particularly important. At present, the accelerometer is calibrated and corrected by a multi-axis turntable in most cases, but the operation is complex, and the cost is increased due to the introduction of professional equipment. Therefore, it is necessary to find a simple calibration method.
Disclosure of Invention
The embodiment of the application provides a calibration method and a related device for an accelerometer in an IMU (inertial measurement Unit), which can calibrate the accelerometer by using the size relation of acceleration and deceleration areas, so that the precision of the accelerometer is improved, and the accuracy of the measurement result of the accelerometer is improved.
A first aspect of an embodiment of the present application provides a method for calibrating an accelerometer in an IMU, including:
setting a datum line of the accelerometer;
taking the datum line as a reference, and acquiring the area of an acceleration region above the datum line in the process that the accelerometer completes one-time acceleration and decelerationAnd a deceleration zone area located below the datum line;
According to the area of the acceleration regionAnd the area of the deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters comprise scale coefficients corresponding to the acceleration regionAnd the scale factor corresponding to the deceleration area。
As an optional implementation manner, in the first aspect of the embodiments of the present application, the setting the reference line of the accelerometer includes:
when the accelerometer stops working, the position indicated when the accelerometer is at rest is setMapping to a two-dimensional coordinate system to obtain the sumReference line of a speedometer, wherein the abscissa of the two-dimensional coordinate system represents timeThe ordinate of the two-dimensional coordinate system represents accelerationAnd the base line obtained after mapping is represented as。
As an alternative implementation manner, in the first aspect of the embodiment of the present application, the acquiring of the acceleration region area located above the reference line is performedAnd a deceleration zone area located below the datum lineThe method comprises the following steps:
acquiring various acceleration values in an acceleration region above the datum line and various acceleration values in a deceleration region below the datum line;
calculating the average value of the acceleration in the acceleration area according to each acceleration value in the acceleration area, and calculating the average value of the acceleration in the deceleration area according to each acceleration value in the deceleration area;
calculating to obtain the area of the acceleration region according to the average value of the acceleration in the acceleration region and the time length of the acceleration region on the abscissa axis(ii) a And calculating to obtain the area of the deceleration area according to the average value of the acceleration in the deceleration area and the time length of the deceleration area on the abscissa axis。
As an alternative implementation manner, in the first aspect of the embodiments of the present application, the area according to the acceleration region isAnd the area of the deceleration regionThe calibration parameters of the accelerometer are adjusted according to the relationship between the accelerometer and the reference parameter, and the method comprises the following steps:
according to the area of the acceleration regionAnd the area of the deceleration regionDetermining a reference area;
According to the area of the acceleration regionArea of the deceleration regionAnd the reference areaAdjusting calibration parameters of the accelerometer, wherein,。
as an alternative implementation manner, in the first aspect of the embodiments of the present application, the area according to the acceleration region isAnd the area of the deceleration regionDetermining a reference areaThe method comprises the following steps:
when the area of the acceleration regionIs larger than the area of the deceleration areaDetermining the reference areaIs the area of the deceleration zone;
Or, when the area of the acceleration region isLess than or equal to the area of the deceleration regionDetermining the reference areaIs the area of the acceleration region;
Alternatively, the reference area is determinedIs the area of the acceleration regionAnd the area of the deceleration regionAverage value of (d);
alternatively, the reference area is determinedIs the area of the acceleration regionAnd the area of the deceleration regionOne or any value within the interval.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the method further includes:
and adjusting the actual output of the accelerometer according to the adjusted calibration parameters of the accelerometer.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the adjusting the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer includes:
according to the scale coefficient corresponding to the acceleration regionAnd a zero axis deviation of the accelerometer adjusts an actual output of the accelerometer at the acceleration region, wherein,saidThe acceleration values actually output by the accelerometer at different times in the acceleration region range areIs the accelerationZero axis deviation of the meter, saidOutputting the adjusted acceleration value of the accelerometer in the acceleration region range at different time;
according to the scale coefficient corresponding to the deceleration areaAnd a zero axis deviation of the accelerometer adjusts an actual output of the accelerometer in the deceleration region, wherein, saidThe acceleration value actually output by the accelerometer at different time within the range of the deceleration area is obtained, and the acceleration value is calculated according to the acceleration valueAnd outputting the adjusted acceleration value of the accelerometer in the range of the deceleration area at different time.
As an alternative implementation, in the first aspect of the embodiments of the present application, the accelerometer has zero axis offsetIs the reference lineTo the zero axis of the two-dimensional coordinate systemDistance between, said zero axis deviationIs equal to。
A second aspect of the embodiments of the present application provides a calibration apparatus for an accelerometer in an IMU, including a unit module configured to perform the method disclosed in the first aspect of the embodiments of the present application and any possible implementation manner thereof.
A third aspect of the embodiment of the present application provides a calibration apparatus for an accelerometer in an IMU, including a processor, a memory, and a communication bus; the memory is used for storing an execution instruction, the processor is connected with the memory through the communication bus, and the processor calls the execution instruction stored in the memory to execute the method disclosed by the first aspect of the embodiment of the present application and any possible implementation manner thereof.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions for executing some or all of the steps described in the method disclosed in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps as described in the method disclosed in the first aspect of embodiments of the present application. The computer program product may be, for example, a software installation package.
In the embodiment of the application, in order to calibrate the accelerometer in the IMU, a datum line of the accelerometer can be set first, the datum line can be acquired when the accelerometer stops operating, the area of an acceleration region above the datum line and the area of a deceleration region below the datum line can be acquired when the accelerometer completes the acceleration and deceleration processes each time, and then the scale coefficient corresponding to the accelerometer in the acceleration region and the scale coefficient corresponding to the deceleration region are adjusted according to the size relationship between the area of the acceleration region and the area of the deceleration region. The method and the device have the advantages that the reference line is used as the basis, different sensitive parameters of the accelerometer for acceleration and deceleration are dynamically adjusted by utilizing different acceleration and deceleration areas, the operation is simple, and third-party equipment is not needed; the accelerometer is calibrated in a calibration mode, so that the precision of the accelerometer can be improved, and the accuracy of the measurement result of the accelerometer is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for calibrating an accelerometer in an IMU according to an embodiment of the present disclosure;
FIG. 2 is a waveform diagram of acceleration versus time of an accelerometer output according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating another method for calibrating an accelerometer in an IMU according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a calibration apparatus of an accelerometer in an IMU according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another calibration apparatus for an accelerometer in an IMU according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The following detailed description is made with reference to the accompanying drawings.
The inertial measurement unit IMU typically includes three-axis accelerometers, which are commonly referred to as mutually orthogonal X-axis accelerometers, Y-axis accelerometers, and Z-axis accelerometers. Because the IMU can measure the attitude angle and the acceleration of an object, the IMU is generally applied to devices requiring motion control, such as common automobiles and robots, and high-precision navigation devices such as submarines, airplanes, spacecrafts, missiles and the like. Here, taking an automobile as an example, the IMU may be disposed in an automobile installed in the automobile, or may be disposed outside the automobile, but may perform communication interaction with the automobile.
The embodiment of the application provides a calibration method of an accelerometer in an IMU, and the method can be applied to a vehicle machine. As shown in fig. 1, the method may comprise at least the following steps:
110. and setting a datum line of the accelerometer.
In the embodiment of the application, when the accelerometer is calibrated, the reference line of the accelerometer can be determined firstly. The accelerometer calibrated in the embodiment of the application can be an accelerometer used for measuring acceleration of the automobile in running, namely a Y-axis accelerometer in the same direction as the running direction of the automobile.
In an alternative embodiment, the specific implementation of the step 110 of setting the reference line of the accelerometer may include the following steps:
11) when the accelerometer stops working, the position indicated when the accelerometer is at rest is setMapping to two-dimensional coordinate system to obtain sumReference line of speedometer, wherein the abscissa of a two-dimensional coordinate system represents timeThe ordinate of the two-dimensional coordinate system represents the accelerationAnd the base line obtained after mapping is represented as。
The accelerometer stops working, and the automobile can be considered to stop running or be in constant speed motion. However, since the absolute uniform motion of the vehicle is not well known, it is preferable to consider the stop of the accelerometer as the state when the vehicle stops running. When the automobile stops running, the speed of the automobile is 0, theoretically, the acceleration output by the accelerometer should also be 0 at this time, but the accelerometer generates an error due to the influence of various factors (such as uneven installation position of the IMU or mechanical characteristics of the IMU itself), and when the accelerometer is at rest, the acceleration is not 0, but a certain deviation occurs. Therefore, the acceleration value output by the accelerometer when the automobile runs is not the real acceleration of the automobile, so the parameter of the accelerometer needs to be calibrated and corrected, so that the corrected acceleration is the accurate acceleration.
Specifically, the acceleration output by the accelerometer may be mapped onto a two-dimensional coordinate system, where the abscissa of the two-dimensional coordinate system is expressed as time (or timestamp) and the ordinate is expressed as acceleration. Position indicated when accelerometer is stationaryIs mapped to a two-dimensional coordinate system and expressed asThen, thenI.e. the reference line of the accelerometer, as shown in figure 2. Wherein the content of the first and second substances,either positive or negative. When in useWhen the value is positive, the baselineZero axis in two-dimensional coordinate systemAbove (1); when in useWhen the value is negative, the baselineZero axis in two-dimensional coordinate systemBelow (c).
120. Taking a datum line as a reference, and acquiring the area of an acceleration region above the datum line in the process of completing one-time acceleration and deceleration of the accelerometerAnd the area of the deceleration zone below the datum line。
In the embodiment of the application, the vehicle can accelerate from the speed 0 in the process of starting to stopping every time, and the speed returns to 0 through deceleration after a period of time. As shown in fig. 2, the accelerations output by the accelerometers are all mapped onto a two-dimensional coordinate system based on a reference line. An acceleration above the reference line may then indicate that the vehicle is in an acceleration process to form an acceleration zone; the acceleration below the reference line may then indicate that the vehicle is in a deceleration process to form a deceleration zone. Theoretically, when the precision of the accelerometer is accurate and has no zero axis deviation (i.e. the datum line coincides with the zero axis), the part above the zero axis is an acceleration region, the part below the zero axis is a deceleration region, and the area of the acceleration region and the area of the deceleration region should be equal. However, since the accelerometer has a deviation, the areas of the acceleration region and the deceleration region are calculated first because the areas of the acceleration region and the deceleration region are not equal to each other due to the actually measured values. Specifically, the area of the acceleration region may be obtained by integrating the acceleration in the acceleration region over a time interval, and the area of the deceleration region may be obtained by integrating the acceleration in the deceleration region over a time interval; alternatively, the product of the average acceleration value within the acceleration region and the time interval length may be regarded as the acceleration region area, and the product of the average acceleration value within the deceleration region and the time interval length may be regarded as the deceleration region area.
In an alternative embodiment, step 120 obtains the area of the acceleration region above the reference lineAnd the area of the deceleration zone below the datum lineMay comprise the following steps:
12) acquiring various acceleration values in an acceleration region above the datum line and various acceleration values in a deceleration region below the datum line;
13) calculating the average value of the acceleration in the acceleration area according to each acceleration value in the acceleration area, and calculating the average value of the acceleration in the deceleration area according to each acceleration value in the deceleration area;
14) calculating to obtain the area of the acceleration region according to the average value of the acceleration in the acceleration region and the time length of the acceleration region on the abscissa axis(ii) a And calculating to obtain the area of the deceleration region according to the average value of the acceleration in the deceleration region and the time length of the deceleration region on the abscissa axis。
Specifically, the average value of the acceleration in the acceleration region is calculated through each acceleration value output by the accelerometer in the acceleration regionAnd calculating the average value of the acceleration in the deceleration area through each acceleration value output by the accelerometer in the deceleration area. Assume that the time interval of the acceleration region on the abscissa axis is (t 1, t 2), and the time interval of the deceleration region on the abscissa axis is (t 3, t 4), where t2 is less than or equal to t 3. Area of acceleration regionArea of deceleration region 。
130. According to the area of the acceleration regionAnd area of deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters comprise scale coefficients corresponding to the acceleration regionAndscale factor corresponding to deceleration zone。
In the embodiment of the application, after the area sizes of the acceleration region and the deceleration region are determined based on the reference line, calibration parameters corresponding to the acceleration and deceleration of the accelerometer can be adjusted according to the size relationship between the two areas. By usingCorrecting acceleration output by an accelerometer in an acceleration region, and use ofThe acceleration output by the accelerometer in the deceleration region is corrected so that the area of the acceleration region and the area of the deceleration region can be equal.
In an alternative embodiment, step 130 is based on the acceleration region areaAnd area of deceleration regionThe specific implementation of adjusting the calibration parameters of the accelerometer may include the following steps:
15) according to the area of the acceleration regionAnd area of deceleration regionDetermining a reference area;
16) According to the area of the acceleration regionArea of deceleration regionAnd reference areaAdjusting calibration parameters of the accelerometer, wherein,。
wherein step 15) is based on the area of the acceleration regionAnd area of deceleration regionDetermining a reference areaMay comprise the following steps:
area of acceleration regionGreater than the area of the deceleration regionWhile determining the reference areaIs the area of the deceleration region;
Or, when the area of the acceleration region isLess than or equal to the area of the deceleration zoneWhile determining the reference areaIs the area of the acceleration region;
Alternatively, the reference area is determinedIs the area of the acceleration regionAnd area of deceleration regionAverage value of (d);
alternatively, the reference area is determinedIs the area of the acceleration regionAnd area of deceleration regionOne or any value within the interval.
In particular, it can be based on the area of the acceleration regionAnd area of deceleration regionThe size relationship between the reference area and the reference area. Optionally, the reference areaCan be set to the area of the acceleration regionAnd area of deceleration regionThe smaller one among them. For example, when the area of the acceleration region is largeGreater than the area of the deceleration regionTime, reference areaAt this time, the scale factor corresponding to the acceleration regionScale factor corresponding to deceleration region. By usingAnd correcting the acceleration output by the accelerometer in the acceleration region so as to enable the area of the acceleration region to be equal to the area of the deceleration region. As another example, when the acceleration region areaLess than or equal to the area of the deceleration zoneTime, reference areaAt this time, the scale factor corresponding to the acceleration regionScale factor corresponding to deceleration region. By usingAnd correcting the acceleration output by the accelerometer in the deceleration region so as to enable the area of the acceleration region to be equal to that of the deceleration region. Optionally, the reference areaCan be set to the area of the acceleration regionAnd area of deceleration regionThe average of both. At this time, the reference areaScale factor corresponding to acceleration region Scale factor corresponding to deceleration region. By usingCorrecting acceleration output by an accelerometer in an acceleration region, and use ofAcceleration of accelerometer output in deceleration regionAnd correcting to make the area of the acceleration region equal to that of the deceleration region. Optionally, the reference areaCan be set to the area of the acceleration regionAnd area of deceleration regionOne or any value within the interval. For example, the area of the acceleration region15, area of deceleration region12, the reference areaAnd may be 12, 12.5, 12.8, 13, 13.5, 13.6, 14, 14.5, 14.8, 15, or other values, etc.
To sum up, in order to calibrate the accelerometer in the IMU, the reference line of the accelerometer may be set first, and the reference line may be obtained when the accelerometer stops operating, and when the accelerometer completes each acceleration and deceleration process, the area of the acceleration region located above the reference line and the area of the deceleration region located below the reference line may be obtained, and then the scale coefficient corresponding to the acceleration region and the scale coefficient corresponding to the deceleration region of the accelerometer are adjusted according to the size relationship between the area of the acceleration region and the area of the deceleration region. The method and the device have the advantages that the reference line is used as the basis, different sensitive parameters of the accelerometer for acceleration and deceleration are dynamically adjusted by utilizing different acceleration and deceleration areas, the operation is simple, and third-party equipment is not needed; the accelerometer is calibrated in a calibration mode, so that the precision of the accelerometer can be improved, and the accuracy of the measurement result of the accelerometer is improved.
The embodiment of the application also provides another calibration method of the accelerometer in the IMU, and the method can be applied to a vehicle machine. As shown in fig. 3, the method may comprise at least the following steps:
310. when the accelerometer stops working, the position indicated when the accelerometer is at rest is setAnd mapping the reference line of the accelerometer to a two-dimensional coordinate system to obtain the reference line of the accelerometer.
Specifically, the detailed implementation of step 310 may refer to all or part of the content described in step 11) in the foregoing embodiment, and will not be described herein again.
320. Taking a datum line as a reference, and acquiring the area of an acceleration region above the datum line in the process of completing one-time acceleration and deceleration of the accelerometerAnd the area of the deceleration zone below the datum line。
330. According to the area of the acceleration regionAnd area of deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters comprise scale coefficients corresponding to the acceleration regionAnd scale factor corresponding to deceleration region。
The detailed implementation of step 320 and step 330 may refer to all or part of the content described in step 120 and step 130 in the foregoing embodiments, and will not be described herein again.
340. And adjusting the actual output of the accelerometer according to the adjusted calibration parameters of the accelerometer.
In an alternative embodiment, the specific implementation of the step 340 of adjusting the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer may include the following steps:
31) according to the scale factor corresponding to the acceleration regionAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the acceleration region, wherein,the acceleration values actually output by the accelerometer at different times in the acceleration region range,for zero axis deviation of the accelerometer,outputting the adjusted acceleration value of the accelerometer in the acceleration area range at different time;
32) according to the scale coefficient corresponding to the deceleration areaAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the deceleration region, wherein,,the acceleration values actually output by the accelerometer at different times in the deceleration region range,and outputting the acceleration value of the adjusted accelerometer in different time within the range of the deceleration area.
Wherein the zero axis deviation of the accelerometerIs a reference lineTo the zero axis of a two-dimensional coordinate systemDistance between, zero axis deviationIs equal to。
In particular, zero axis offset of the accelerometerAs reference lines for accelerometersAnd the actual zero axisError therebetween, i.e. zero axis deviation. Due to the fact thatCan be positive or negative, so zero axis deviationEither positive or negative. When the scale coefficient corresponding to the acceleration region is calculatedScale factor corresponding to deceleration regionThen, can utilizeTo correct the acceleration output by the accelerometer in the acceleration region and then subtract the zero axis deviationTo obtain the compensated and calibrated acceleration; and use ofTo correct the acceleration output by the accelerometer in the deceleration area and then subtract the zero axis deviationTo obtain the compensated calibrated acceleration. Therefore, under the condition that the accuracy of the accelerometer is not high, the output accuracy of the accelerometer can be improved through compensation calibration.
Therefore, in order to calibrate the accelerometer in the IMU, the reference line of the accelerometer may be set first, and the reference line may be obtained when the accelerometer stops operating, and when the accelerometer completes each acceleration and deceleration process, the area of the acceleration region located above the reference line and the area of the deceleration region located below the reference line may be obtained, and then the scale coefficient corresponding to the acceleration region and the scale coefficient corresponding to the deceleration region of the accelerometer are adjusted according to the size relationship between the area of the acceleration region and the area of the deceleration region, and the actual output of the accelerometer may be adjusted according to the adjusted calibration parameters of the accelerometer. The method and the device have the advantages that the reference line is used as the basis, different sensitive parameters of the accelerometer for acceleration and deceleration are dynamically adjusted by utilizing different acceleration and deceleration areas, the operation is simple, and third-party equipment is not needed; in addition, under the condition that the precision of the accelerometer is not high, the output precision of the accelerometer can be improved by correcting and compensating the output of the accelerometer, so that the accuracy of the measurement result of the accelerometer is improved.
The embodiment of the application provides a calibration device of an accelerometer in an IMU, which can be used for executing the calibration method of the accelerometer in the IMU provided by the embodiment. When the IMU is mounted on a vehicle, the device may be a vehicle mounted unit. As shown in fig. 4, the apparatus may include:
and a setting unit 41 for setting a reference line of the accelerometer.
An acquiring unit 42, configured to acquire an acceleration region area located above the reference line during one acceleration and deceleration of the accelerometer with the reference line as a referenceAnd the area of the deceleration zone below the datum line。
An adjusting unit 43 for adjusting the area of the acceleration regionAnd area of deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters can comprise scale coefficients corresponding to the acceleration regionAnd scale factor corresponding to deceleration region。
Optionally, the setting unit 41 may be specifically configured to set the position indicated when the accelerometer is stationary when the accelerometer stops workingMapping the reference line of the accelerometer to a two-dimensional coordinate system, and obtaining the reference line of the accelerometer after mapping, wherein the abscissa of the two-dimensional coordinate system represents timeThe ordinate of the two-dimensional coordinate system represents the accelerationAnd the base line obtained after mapping is represented as。
Optionally, the obtaining unit 42 may be specifically configured to obtain each acceleration value in an acceleration region located above the reference line, and each acceleration value in a deceleration region located below the reference line; calculating the average value of the acceleration in the acceleration area according to each acceleration value in the acceleration area, and calculating the average value of the acceleration in the deceleration area according to each acceleration value in the deceleration area; calculating to obtain the area of the acceleration region according to the average value of the acceleration in the acceleration region and the time length of the acceleration region on the abscissa axis(ii) a And calculating to obtain the area of the deceleration region according to the average value of the acceleration in the deceleration region and the time length of the deceleration region on the abscissa axis。
Optionally, the adjusting unit 43 may be specifically configured to adjust the acceleration region area according to the acceleration region areaAnd area of deceleration regionDetermining a reference areaAnd according to the area of the acceleration regionArea of deceleration regionAnd reference areaAdjusting calibration parameters of the accelerometer, wherein,,。
alternatively, the adjusting unit 43 is based on the area of the acceleration regionAnd area of deceleration regionDetermining a reference areaThe specific implementation manner of (2) can be as follows:
area of acceleration regionGreater than the area of the deceleration regionThe adjusting unit 43 determines the reference areaIs the area of the deceleration region;
Or, when the area of the acceleration region isLess than or equal to the area of the deceleration zoneThe adjusting unit 43 determines the reference areaIs the area of the acceleration region;
Alternatively, the adjustment unit 43 determines the reference areaIs the area of the acceleration regionAnd area of deceleration regionAverage value of (d);
alternatively, the adjustment unit 43 determines the reference areaIs the area of the acceleration regionAnd area of deceleration regionOne or any value within the interval.
Optionally, the adjusting unit 43 may be further configured to adjust the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer.
Optionally, the specific implementation manner of the adjusting unit 43 adjusting the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer may be:
the adjusting unit 43 adjusts the scale factor according to the corresponding acceleration regionAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the acceleration region, wherein,the acceleration values actually output by the accelerometer at different times in the acceleration region range,for zero axis deviation of the accelerometer,outputting the adjusted acceleration value of the accelerometer in the acceleration area range at different time; and the scale factor corresponding to the deceleration areaAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the deceleration region, wherein,,the acceleration values actually output by the accelerometer at different times in the deceleration region range,and outputting the acceleration value of the adjusted accelerometer in different time within the range of the deceleration area.
Optionally, zero axis offset of accelerometerIs a reference lineTo the zero axis of a two-dimensional coordinate systemDistance between, zero axis deviationIs equal to。
It can be seen that, in the apparatus shown in fig. 4, a reference line of the accelerometer may be set first, and the reference line may be obtained when the accelerometer stops operating, and when the accelerometer completes each acceleration and deceleration process, an acceleration region area located above the reference line and a deceleration region area located below the reference line may be obtained, and then a scale coefficient corresponding to the accelerometer in the acceleration region and a scale coefficient corresponding to the deceleration region may be adjusted according to a size relationship between the acceleration region area and the deceleration region area. The method has the advantages that different sensitive parameters of the accelerometer for acceleration and deceleration are dynamically adjusted by using different acceleration and deceleration areas according to a reference line, the operation is simple, and third-party equipment is not needed; the accelerometer is calibrated in a calibration mode, so that the precision of the accelerometer can be improved, and the accuracy of the measurement result of the accelerometer is improved.
The embodiment of the present application further provides a calibration apparatus for an accelerometer in an IMU, where the apparatus 500 may be used to execute the calibration method for an accelerometer in an IMU provided in the embodiment of the present application. When the IMU is mounted on a vehicle, the apparatus 500 may be a vehicle. As shown in fig. 5, the apparatus 500 may include: at least one processor 501, such as a Central Processing Unit (CPU), a memory 502, at least one communication interface 503, and the like. Wherein the components are communicatively coupled via one or more communication buses 504. Those skilled in the art will appreciate that the configuration of the apparatus 500 shown in fig. 5 is not intended to limit embodiments of the present application, and may be a bus or star configuration, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components. Wherein:
in the embodiment of the present application, the memory 502 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 502 may optionally be at least one storage device located remotely from the processor 501. As shown in fig. 5, the memory 502 may include one or more execution instructions (programs), data, and the like, and the embodiments of the present application are not limited thereto.
In this embodiment, the communication interface 503 may include a wired communication interface, a wireless communication interface, and the like, and may be used for performing communication interaction with other devices, such as receiving signals sent by other devices, and/or sending signals to other devices, and the like.
In the apparatus 500 shown in fig. 5, the processor 501 may be configured to invoke one or more execution instructions stored in the memory 502 to perform the following operations:
setting a datum line of the accelerometer;
taking a datum line as a reference, and acquiring the area of an acceleration region above the datum line in the process of completing one-time acceleration and deceleration of the accelerometerAnd the area of the deceleration zone below the datum line;
According to the area of the acceleration regionAnd area of deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters can comprise scale coefficients corresponding to the acceleration regionAnd scale factor corresponding to deceleration region。
Optionally, the specific implementation of the processor 501 setting the reference line of the accelerometer may be:
when the accelerometer stops working, the position indicated when the accelerometer is at rest is setMapping the reference line of the accelerometer to a two-dimensional coordinate system, and obtaining the reference line of the accelerometer after mapping, wherein the abscissa of the two-dimensional coordinate system represents timeThe ordinate of the two-dimensional coordinate system represents the accelerationAnd the base line obtained after mapping is represented as。
Optionally, the processor 501 obtains the area of the acceleration region above the reference lineAnd the area of the deceleration zone below the datum lineThe specific implementation manner of (2) can be as follows:
acquiring various acceleration values in an acceleration region above the datum line and various acceleration values in a deceleration region below the datum line;
calculating the average value of the acceleration in the acceleration area according to each acceleration value in the acceleration area, and calculating the average value of the acceleration in the deceleration area according to each acceleration value in the deceleration area;
calculating to obtain the area of the acceleration region according to the average value of the acceleration in the acceleration region and the time length of the acceleration region on the abscissa axis(ii) a And calculating to obtain the area of the deceleration region according to the average value of the acceleration in the deceleration region and the time length of the deceleration region on the abscissa axis。
Alternatively, processor 501 may be based on acceleration region areaAnd area of deceleration regionThe specific implementation of adjusting the calibration parameters of the accelerometer may be as follows:
according to the area of the acceleration regionAnd area of deceleration regionDetermining a reference area;
According to the area of the acceleration regionArea of deceleration regionAnd reference areaAdjusting calibration parameters of the accelerometer, wherein,。
alternatively, processor 501 may be based on acceleration region areaAnd area of deceleration regionDetermining a reference areaThe specific implementation manner of (2) can be as follows:
area of acceleration regionGreater than the area of the deceleration regionWhile determining the reference areaIs the area of the deceleration region;
Or, when the area of the acceleration region isLess than or equal to the area of the deceleration zoneWhile determining the reference areaIs the area of the acceleration region;
Alternatively, the reference area is determinedIs the area of the acceleration regionAnd area of deceleration regionAverage value of (d);
alternatively, the reference area is determinedIs the area of the acceleration regionAnd area of deceleration regionOne or any value within the interval.
Optionally, the processor 501 may be further configured to call one or more execution instructions stored in the memory 502 to perform the following operations:
and adjusting the actual output of the accelerometer according to the adjusted calibration parameters of the accelerometer.
Optionally, the specific implementation of the processor 501 adjusting the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer may be:
according to the scale factor corresponding to the acceleration regionAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the acceleration region, wherein,the acceleration values actually output by the accelerometer at different times in the acceleration region range,for zero axis deviation of the accelerometer,outputting the adjusted acceleration value of the accelerometer in the acceleration area range at different time;
according to the scale coefficient corresponding to the deceleration areaAnd the zero axis deviation of the accelerometer adjusts the actual output of the accelerometer in the deceleration region, wherein,the acceleration values actually output by the accelerometer at different times in the deceleration region range,and outputting the acceleration value of the adjusted accelerometer in different time within the range of the deceleration area.
Optionally, zero axis offset of accelerometerIs a reference lineTo the zero axis of a two-dimensional coordinate systemDistance between, zero axis deviationIs equal to。
Specifically, the apparatus described in this embodiment of the present application may implement part or all of the processes in the embodiment of the method for calibrating an accelerometer in an IMU described in this application in conjunction with fig. 1 or fig. 3.
The modules or sub-modules in all embodiments of the present Application may be implemented by a general-purpose Integrated Circuit, such as a CPU, or by an ASIC (Application Specific Integrated Circuit).
Embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions that may be used to perform some or all of the steps described in the calibration method of an accelerometer in an IMU according to the embodiments of the present application. The computer readable storage medium may be located in the calibration arrangement for the accelerometer in the IMU provided in the previous embodiments.
Embodiments of the present application also provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps of the method for calibrating an accelerometer in an IMU as provided by the embodiments of the present application. For example, the computer program product may be a software installation package, and the computer may be the calibration apparatus of the accelerometer in the IMU provided in the foregoing embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The unit modules in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The foregoing describes in detail a calibration method and related apparatus for an accelerometer in an IMU according to an embodiment of the present application, and a specific example is applied to explain the principle and implementation of the present application, and the description of the foregoing embodiment is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A method for calibrating an accelerometer in an IMU (inertial measurement Unit) is characterized by comprising the following steps:
setting a datum line of the accelerometer;
taking the datum line as a reference, and acquiring the datum line in the process that the accelerometer completes one acceleration and decelerationArea of acceleration region above lineAnd a deceleration zone area located below the datum line;
According to the area of the acceleration regionAnd the area of the deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters comprise scale coefficients corresponding to the acceleration regionAnd the scale factor corresponding to the deceleration area。
2. The method of claim 1, wherein the setting the reference line of the accelerometer comprises:
when the accelerometer stops working, the position indicated when the accelerometer is at rest is setMapping the reference line of the accelerometer to a two-dimensional coordinate system, and obtaining the reference line of the accelerometer after mapping, wherein the abscissa of the two-dimensional coordinate system represents timeThe ordinate of the two-dimensional coordinate system represents accelerationAnd the base line obtained after mapping is represented as。
3. The method of claim 2, wherein said obtaining an acceleration region area above said reference line is performed by a method comprising the step of obtaining an acceleration region area above said reference lineAnd a deceleration zone area located below the datum lineThe method comprises the following steps:
acquiring various acceleration values in an acceleration region above the datum line and various acceleration values in a deceleration region below the datum line;
calculating the average value of the acceleration in the acceleration area according to each acceleration value in the acceleration area, and calculating the average value of the acceleration in the deceleration area according to each acceleration value in the deceleration area;
calculating to obtain the area of the acceleration region according to the average value of the acceleration in the acceleration region and the time length of the acceleration region on the abscissa axis(ii) a And calculating to obtain the area of the deceleration area according to the average value of the acceleration in the deceleration area and the time length of the deceleration area on the abscissa axis。
4. The IMU of any of claims 1-3, whereinThe calibration method of the accelerometer is characterized in that the calibration method is based on the area of the acceleration regionAnd the area of the deceleration regionThe calibration parameters of the accelerometer are adjusted according to the relationship between the accelerometer and the reference parameter, and the method comprises the following steps:
according to the area of the acceleration regionAnd the area of the deceleration regionDetermining a reference area;
5. the IMU accelerometer of claim 4According to the area of the acceleration region, whereinAnd the area of the deceleration regionDetermining a reference areaThe method comprises the following steps:
when the area of the acceleration regionIs larger than the area of the deceleration areaDetermining the reference areaIs the area of the deceleration zone;
Or, when the area of the acceleration region isLess than or equal to the area of the deceleration regionDetermining the reference areaIs the area of the acceleration region;
Alternatively, the reference area is determinedIs the area of the acceleration regionAnd the area of the deceleration regionAverage value of (d);
6. A method for calibration of an accelerometer in an IMU according to claim 2 or 3, further comprising:
and adjusting the actual output of the accelerometer according to the adjusted calibration parameters of the accelerometer.
7. The method of claim 6, wherein the adjusting the actual output of the accelerometer according to the adjusted calibration parameter of the accelerometer comprises:
according to the scale coefficient corresponding to the acceleration regionAnd zero axis offset tuning of the accelerometerIntegrating the actual output of the accelerometer in the acceleration region, wherein,saidThe acceleration values actually output by the accelerometer at different times in the acceleration region range areIs zero axis deviation of the accelerometer, theOutputting the adjusted acceleration value of the accelerometer in the acceleration region range at different time;
according to the scale coefficient corresponding to the deceleration areaAnd a zero axis deviation of the accelerometer adjusts an actual output of the accelerometer in the deceleration region, wherein, saidThe acceleration value actually output by the accelerometer at different time within the range of the deceleration area is obtained, and the acceleration value is calculated according to the acceleration valueAnd outputting the adjusted acceleration value of the accelerometer in the range of the deceleration area at different time.
9. A calibration device for an accelerometer in an IMU (inertial measurement Unit), comprising:
the setting unit is used for setting a datum line of the accelerometer;
the acquisition unit is used for acquiring the area of an acceleration region above the datum line by taking the datum line as a reference in the process of finishing one-time acceleration and deceleration of the accelerometerAnd a deceleration zone area located below the datum line;
An adjusting unit for adjusting the acceleration region areaAnd the area of the deceleration regionThe calibration parameters of the accelerometer are adjusted, and the calibration parameters comprise scale coefficients corresponding to the acceleration regionAnd the scale factor corresponding to the deceleration area。
10. The device for calibrating the accelerometer in the IMU is characterized by comprising a processor, a memory and a communication bus; wherein the memory is used for storing execution instructions, the processor is connected with the memory through the communication bus, and the processor calls the execution instructions stored by the memory for executing the method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011037268.4A CN111879971A (en) | 2020-09-28 | 2020-09-28 | Method for calibrating accelerometer in IMU and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011037268.4A CN111879971A (en) | 2020-09-28 | 2020-09-28 | Method for calibrating accelerometer in IMU and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111879971A true CN111879971A (en) | 2020-11-03 |
Family
ID=73199963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011037268.4A Pending CN111879971A (en) | 2020-09-28 | 2020-09-28 | Method for calibrating accelerometer in IMU and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111879971A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656095A (en) * | 2017-08-15 | 2018-02-02 | 歌尔科技有限公司 | Scaling method, device and the electronic equipment of accelerometer |
CN109069067A (en) * | 2015-12-16 | 2018-12-21 | 穆罕默德·R·马赫福兹 | IMU calibration |
JP2020041900A (en) * | 2018-09-10 | 2020-03-19 | ボッシュ株式会社 | Inertia sensor output correction device and method for correcting output of inertia sensor |
CN111121824A (en) * | 2020-01-03 | 2020-05-08 | 西北工业大学 | Calibration method of MEMS sensor |
CN111398631A (en) * | 2020-03-31 | 2020-07-10 | 西北工业大学 | Unmanned aerial vehicle accelerometer error identification and correction method |
CN111830285A (en) * | 2020-07-22 | 2020-10-27 | 蘑菇车联信息科技有限公司 | Method for calibrating accelerometer in IMU and related device |
-
2020
- 2020-09-28 CN CN202011037268.4A patent/CN111879971A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109069067A (en) * | 2015-12-16 | 2018-12-21 | 穆罕默德·R·马赫福兹 | IMU calibration |
CN107656095A (en) * | 2017-08-15 | 2018-02-02 | 歌尔科技有限公司 | Scaling method, device and the electronic equipment of accelerometer |
JP2020041900A (en) * | 2018-09-10 | 2020-03-19 | ボッシュ株式会社 | Inertia sensor output correction device and method for correcting output of inertia sensor |
CN111121824A (en) * | 2020-01-03 | 2020-05-08 | 西北工业大学 | Calibration method of MEMS sensor |
CN111398631A (en) * | 2020-03-31 | 2020-07-10 | 西北工业大学 | Unmanned aerial vehicle accelerometer error identification and correction method |
CN111830285A (en) * | 2020-07-22 | 2020-10-27 | 蘑菇车联信息科技有限公司 | Method for calibrating accelerometer in IMU and related device |
Non-Patent Citations (1)
Title |
---|
高亢等: "MEMS加速度计组合在分度头上的标定方法 ", 《导航定位与授时》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6738721B1 (en) | Method for improving the measurement values of an inertial measurement system | |
US11120562B2 (en) | Posture estimation method, posture estimation apparatus and computer readable storage medium | |
CN108957495B (en) | GNSS and MIMU combined navigation method and device and computer equipment | |
CN106815868B (en) | Camera real-time calibration mthods, systems and devices | |
US5166882A (en) | System for calibrating a gyro navigator | |
JP2009505062A (en) | Self-calibration for inertial instrument based on real-time bias estimator | |
KR101106048B1 (en) | Method for calibrating sensor errors automatically during operation, and inertial navigation using the same | |
CN112327006B (en) | Method for calibrating accelerometer in IMU and related device | |
TW201833557A (en) | Determination of a spatial orientation | |
EP3073226B1 (en) | Continuous calibration of an inertial system | |
CN111197994B (en) | Position data correction method, position data correction device, computer device, and storage medium | |
KR102038482B1 (en) | Inertial sensor enhancement | |
CN111998870B (en) | Calibration method and device of camera inertial navigation system | |
CN106931965B (en) | Method and device for determining terminal posture | |
CN111879971A (en) | Method for calibrating accelerometer in IMU and related device | |
CN113959464B (en) | Gyroscope-assisted accelerometer field calibration method and system | |
CN112284421B (en) | IMU internal reference adjusting method and related device | |
CN111272199B (en) | Method and device for calibrating installation error angle of IMU (inertial measurement Unit) | |
CN111982155B (en) | Calibration method and device of magnetic sensor, electronic equipment and computer storage medium | |
US11371848B2 (en) | Method for characterising an inertial measurement unit | |
CN114910666A (en) | Static compensation correction method of acceleration sensor for vehicle ramp estimation | |
CN114019954A (en) | Course installation angle calibration method and device, computer equipment and storage medium | |
CN111964676A (en) | Attitude heading calculation method and device, electronic equipment and computer readable storage medium | |
CN110260888A (en) | A kind of swing angle measuring method, apparatus and system | |
CN113155119B (en) | Vibration compensation method and device for astronomical navigation and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201103 |