[go: up one dir, main page]

CN107024673B - Three axis magnetometer total error scaling method based on gyroscope auxiliary - Google Patents

Three axis magnetometer total error scaling method based on gyroscope auxiliary Download PDF

Info

Publication number
CN107024673B
CN107024673B CN201710362481.4A CN201710362481A CN107024673B CN 107024673 B CN107024673 B CN 107024673B CN 201710362481 A CN201710362481 A CN 201710362481A CN 107024673 B CN107024673 B CN 107024673B
Authority
CN
China
Prior art keywords
axis
magnetometer
error
gyroscope
output
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.)
Active
Application number
CN201710362481.4A
Other languages
Chinese (zh)
Other versions
CN107024673A (en
Inventor
尤政
杨登
李滨
段文睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201710362481.4A priority Critical patent/CN107024673B/en
Publication of CN107024673A publication Critical patent/CN107024673A/en
Application granted granted Critical
Publication of CN107024673B publication Critical patent/CN107024673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Gyroscopes (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

本发明提出一种基于陀螺仪辅助的三轴磁强计全误差标定方法,适用于捷联惯性导航系统、手机等便携式导航设备,该方法采用三轴陀螺仪与三轴磁强计固连的传感器组合模块,利用长方体框架与传感器组合模块,对磁强计的软磁误差、硬磁误差、零偏误差、标度因子误差、非正交误差和安装误差进行标定。在有磁环境中,通过改变长方体框架的摆放朝向并旋转,获得三轴磁强计与三轴陀螺仪输出数据。第一步由陀螺仪输出辅助得到等旋转角度间隔的磁强计插值输出,第二步由磁强计插值输出线性运算得到误差系数矩阵和零偏向量标定值。本发明的方法具有设备要求低、操作简单、标定时间短、计算量小、精度高的优点。

The present invention proposes a gyroscope-assisted three-axis magnetometer full-error calibration method, which is suitable for strapdown inertial navigation systems, mobile phones and other portable navigation devices. The sensor combination module uses the cuboid frame and the sensor combination module to calibrate the soft magnetic error, hard magnetic error, zero offset error, scale factor error, non-orthogonal error and installation error of the magnetometer. In a magnetic environment, the output data of the three-axis magnetometer and the three-axis gyroscope can be obtained by changing the orientation and rotation of the cuboid frame. The first step is to obtain the magnetometer interpolation output with equal rotation angle interval with the aid of the gyroscope output, and the second step is to obtain the error coefficient matrix and the calibration value of the zero offset vector by the linear operation of the magnetometer interpolation output. The method of the invention has the advantages of low equipment requirements, simple operation, short calibration time, small calculation amount and high precision.

Description

基于陀螺仪辅助的三轴磁强计全误差标定方法Full error calibration method of three-axis magnetometer based on gyroscope

技术领域technical field

本发明涉及三轴磁强计标定技术领域,特别涉及一种基于陀螺仪辅助的三轴磁强计全误差标定方法。The invention relates to the technical field of three-axis magnetometer calibration, in particular to a gyroscope-assisted full-error calibration method for a three-axis magnetometer.

背景技术Background technique

由于三轴磁强计的制造误差和装配误差,以及外界铁磁物体对磁场的干扰,其测量地磁场的精度较低。磁强计的误差来源于环境干扰和磁强计的自身误差。环境干扰包括硬磁干扰和软磁干扰,磁强计自身的主要误差包括零偏误差、标度因子误差、非正交误差、安装对准误差。这些误差严重影响磁强计应用于航向确定和姿态测量的精度,需要进行标定,得到误差系数,进而补偿磁强计原始输出。Due to the manufacturing error and assembly error of the three-axis magnetometer, as well as the interference of the external ferromagnetic object to the magnetic field, the accuracy of the measurement of the geomagnetic field is low. The error of the magnetometer comes from the environmental interference and the error of the magnetometer itself. Environmental interference includes hard magnetic interference and soft magnetic interference. The main errors of the magnetometer itself include zero bias error, scale factor error, non-orthogonal error, and installation alignment error. These errors seriously affect the accuracy of the magnetometer used in heading determination and attitude measurement. It needs to be calibrated to obtain the error coefficient and then compensate the original output of the magnetometer.

目前标定方法有很多,主要包括:At present, there are many calibration methods, mainly including:

1.磁强计在水平面内转动一周,利用磁强计输出的最大值和最小值完成2轴磁强计的标度因子误差和零偏误差的标定。但是,此方法只能完成2轴的磁强计标定,且只能标定部分误差项,精度低。1. The magnetometer rotates once in the horizontal plane, and the maximum and minimum output values of the magnetometer are used to complete the calibration of the scale factor error and zero bias error of the 2-axis magnetometer. However, this method can only complete the 2-axis magnetometer calibration, and can only calibrate part of the error terms, and the accuracy is low.

2.通过三维空间内旋转磁强计的椭球拟合标定方法,其无法标定由软磁干扰、非正交误差、安装误差造成的旋转误差项,补偿效果有限,且通过最小二乘法的椭球拟合过程计算量大。2. Through the ellipsoid fitting calibration method of the rotating magnetometer in three-dimensional space, it cannot calibrate the rotation error term caused by soft magnetic interference, non-orthogonal error, and installation error, and the compensation effect is limited. The ball fitting process is computationally expensive.

3.利用高精度无磁转台确定方向,并通过更高精度的磁强计获取磁场数据,通过实验确定误差系数,其校正精度高,但对设备要求高,且操作复杂。3. Use a high-precision non-magnetic turntable to determine the direction, and obtain the magnetic field data through a higher-precision magnetometer, and determine the error coefficient through experiments. The correction accuracy is high, but the equipment requirements are high and the operation is complicated.

4.将磁强计固定在正方体内,通过12个不同的摆放方位,对磁强计的误差系数进行求解。然而此方法对12个摆放朝向的准确度要求高,且依赖的数据点较少,在随机噪声较大时,容易产生较大的标定误差。4. Fix the magnetometer in the cube, and solve the error coefficient of the magnetometer through 12 different placement orientations. However, this method has high requirements on the accuracy of the 12 orientations, and relies on fewer data points. When the random noise is large, it is easy to generate a large calibration error.

总的来说,目前相关的标定方法具有设备要求高、操作复杂、计算复杂、只完成部分误差项的标定、只适用于2轴磁强计的标定等缺点。In general, the current related calibration methods have the disadvantages of high equipment requirements, complicated operations, complicated calculations, only completing the calibration of part of the error terms, and only suitable for the calibration of 2-axis magnetometers.

发明内容SUMMARY OF THE INVENTION

本发明旨在至少解决上述技术问题之一。The present invention aims to solve at least one of the above-mentioned technical problems.

为此,本发明的目的在于提出一种基于陀螺仪辅助的三轴磁强计全误差标定方法,该方法具有设备要求低、操作简单、标定时间短、计算量小、精度高的优点。Therefore, the purpose of the present invention is to propose a gyroscope-assisted three-axis magnetometer full error calibration method, which has the advantages of low equipment requirements, simple operation, short calibration time, small calculation amount and high precision.

为了实现上述目的,本发明的实施例提出了一种基于陀螺仪辅助的三轴磁强计全误差标定方法,包括以下步骤:S1:将三轴陀螺仪与三轴磁强计固连组成的传感器组合模块安装于长方体框架内,并对框架的六个面分别编号为1~6,其中,编号规则为:1和2面相对,且垂直于传感器组合模块z轴,3和4面相对,且垂直于传感器组合模块y轴,5和6面相对,且垂直于传感器组合模块x轴;S2:设定旋转圈数n,将框架编号为1的面朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,得到1组三轴磁强计与三轴陀螺仪输出数据;S3:将编号为2~6的面分别朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,得到另外5组三轴磁强计与三轴陀螺仪输出数据;S4:设定插值间隔角度Δθ,并设定框架朝上的面的编号k;S5:通过敏感轴垂直于旋转平面陀螺仪的输出积分得到每个采样点的旋转角θj,并当θj≥360n,停止积分,保存各采样点旋转角θ;S6:根据各采样点旋转角θ与各采样点三轴磁强计输出mk,计算等角度间隔的三轴磁强计插值输出;S7:改变框架朝上的面的编号k,重复步骤S5至S6,得到另外5组三轴磁强计插值输出,最终得到三轴磁强计插值输出i=1~360n/Δθ,k=1~6;S8:根据最终得到的三轴磁强计插值输出计算零偏误差向量;S9:获取垂直于平面的磁场分量h;S10:根据三轴磁强计插值输出与磁场分量h计算误差系数矩阵;S11:根据得到的所述零偏误差向量和所述误差系数矩阵,对三轴磁强计原始输出进行误差补偿。In order to achieve the above purpose, an embodiment of the present invention proposes a gyroscope-assisted three-axis magnetometer full error calibration method, comprising the following steps: S1: a three-axis gyroscope and a three-axis magnetometer are fixedly connected to form a The sensor combination module is installed in the cuboid frame, and the six sides of the frame are numbered 1 to 6 respectively. The numbering rule is: 1 and 2 are opposite and perpendicular to the z-axis of the sensor combination module, and 3 and 4 are opposite. And perpendicular to the y-axis of the sensor combination module, faces 5 and 6 are opposite, and perpendicular to the x-axis of the sensor combination module; S2: Set the number of rotations n, and place the frame number 1 on a smooth, non-magnetic plane. Rotate the frame around the axis perpendicular to the plane for more than n turns, and obtain a set of output data from the three-axis magnetometer and three-axis gyroscope; S3: Place the faces numbered 2 to 6 on a smooth, non-magnetic plane, respectively, and wind them around The axis perpendicular to the plane rotates the frame more than n turns, and obtains another 5 sets of output data of three-axis magnetometer and three-axis gyroscope; S4: Set the interpolation interval angle Δθ, and set the number k of the frame facing upward; S5 : The output of the gyroscope through the sensitive axis perpendicular to the plane of rotation Integrate to obtain the rotation angle θ j of each sampling point, and stop the integration when θ j ≥ 360n, and save the rotation angle θ of each sampling point; S6: According to the rotation angle θ of each sampling point and the output m of the three-axis magnetometer of each sampling point k , calculate the three-axis magnetometer interpolation output at equal angular intervals; S7: change the number k of the upward face of the frame, repeat steps S5 to S6, obtain another 5 sets of three-axis magnetometer interpolation output, and finally obtain the three-axis magnetometer Strong meter interpolation output i=1~360n/Δθ, k=1~6; S8: Calculate the zero bias error vector according to the finally obtained three-axis magnetometer interpolation output; S9: Obtain the magnetic field component h perpendicular to the plane; S10: According to the three-axis Calculate the error coefficient matrix between the magnetometer interpolation output and the magnetic field component h ; S11: Perform error compensation on the original output of the three-axis magnetometer according to the obtained zero bias error vector and the error coefficient matrix.

另外,根据本发明上述实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法还可以具有如下附加的技术特征:In addition, the gyroscope-assisted three-axis magnetometer full error calibration method according to the above embodiments of the present invention may also have the following additional technical features:

在一些示例中,在所述S6中,通过如下公式计算等角度间隔的三轴磁强计插值输出:In some examples, in S6, the equiangularly spaced three-axis magnetometer interpolation output is calculated by the following formula:

在一些示例中,在所述S8中,通过如下公式计算所述零偏误差向量:In some examples, in the S8, the zero bias error vector is calculated by the following formula:

在一些示例中,在所述S9中,所述磁场分量h为预先设定,或者通过预设公式计算得到所述磁场分量hIn some examples, in the S9, the magnetic field component h is preset, or the magnetic field component h is obtained by calculation through a preset formula.

在一些示例中,所述预设公式为:In some examples, the preset formula is:

在一些示例中,在所述S10中,所述误差系数矩阵为:K=[K1K2K3],其中,In some examples, in the S10, the error coefficient matrix is: K=[K 1 K 2 K 3 ], wherein,

在一些示例中,在所述S11中,所述对三轴磁强计原始输出进行误差补偿的方式为:In some examples, in the S11, the method of performing error compensation on the raw output of the three-axis magnetometer is:

其中,为补偿后的三轴磁强计输出。in, It is the output of the three-axis magnetometer after compensation.

在一些示例中,在所述S5中,角度θj为相对旋转角度。In some examples, in the S5, the angle θ j is the relative rotation angle.

在一些示例中,在所述S4中,插值间隔角度Δθ为360的公约数。In some examples, in the S4, the interpolation interval angle Δθ is a common divisor of 360.

根据本发明实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法,具有如下优点:The gyroscope-assisted three-axis magnetometer full error calibration method according to the embodiment of the present invention has the following advantages:

1.该方法实现过程中对设备要求低,只需要用到无磁长方体框架,而三轴磁强计与三轴陀螺仪固连的传感器组合模块非常普遍;1. The implementation of this method has low requirements on equipment, and only needs to use a non-magnetic cuboid frame, and the sensor combination module in which the three-axis magnetometer and the three-axis gyroscope are fixedly connected is very common;

2.该方法操作简单,对磁强计的翻转没有北向对准等要求,旋转过程不需要控制精确的旋转角度,对旋转速度和旋转方向也没有特殊要求;2. The method is simple to operate, and there is no requirement for north alignment for the flip of the magnetometer. The rotation process does not need to control the precise rotation angle, and there are no special requirements for the rotation speed and rotation direction;

3.该方法计算简单,通过线性插值得到等角度间隔的磁强计插值输出,再通过磁强计插值输出,通过一次线性方程得到误差系数矩阵和零偏误差向量,不涉及最小二乘法、非线性方程组等求解问题;3. This method is simple to calculate. The magnetometer interpolation output of equal angular intervals is obtained through linear interpolation, and then the magnetometer interpolation output is used to obtain the error coefficient matrix and zero-bias error vector through a linear equation. Solving problems such as systems of linear equations;

4.该方法操作简单,计算简单,从而使得标定过程所需时间短;4. The method is simple to operate and simple to calculate, so that the time required for the calibration process is short;

5.该方法有效地利用了捷联惯性导航设备中的陀螺仪来辅助完成磁强计全误差标定。5. The method effectively utilizes the gyroscope in the strapdown inertial navigation equipment to assist in completing the full error calibration of the magnetometer.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1是根据本发明一个实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法;Fig. 1 is a three-axis magnetometer full error calibration method based on gyroscope assistance according to an embodiment of the present invention;

图2是根据本发明一个实施例的长方体框架各面展开示意图;FIG. 2 is a schematic diagram showing the development of each side of a rectangular parallelepiped frame according to an embodiment of the present invention;

图3是根据本发明一个实施例的长方体框架与传感器模敏感轴对准关系示意图;3 is a schematic diagram of the alignment relationship between a rectangular parallelepiped frame and a sensor mode sensitive axis according to an embodiment of the present invention;

图4是根据本发明一个实施例的旋转操作过程示意图;4 is a schematic diagram of a rotating operation process according to an embodiment of the present invention;

图5是根据本发明一个实施例的标定前后三轴磁强计输出值的示意图;5 is a schematic diagram of output values of three-axis magnetometers before and after calibration according to an embodiment of the present invention;

图6是根据本发明一个实施例的标定前后x、y轴磁强计输出值的示意图;6 is a schematic diagram of the output values of the x and y-axis magnetometers before and after calibration according to an embodiment of the present invention;

图7是根据本发明一个实施例的标定前后x、z轴磁强计输出值的示意图;7 is a schematic diagram of the output values of the x and z-axis magnetometers before and after calibration according to an embodiment of the present invention;

图8是根据本发明一个实施例的标定前后y、z轴磁强计输出值的示意图;8 is a schematic diagram of the output values of the y and z-axis magnetometers before and after calibration according to an embodiment of the present invention;

图9是根据本发明一个实施例的标定前后磁强计测角误差示意图。FIG. 9 is a schematic diagram of the angle measurement error of the magnetometer before and after calibration according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, only used to explain the present invention, and should not be construed as a limitation of the present invention.

以下结合附图描述根据本发明实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法。The following describes a method for calibrating the full error of a three-axis magnetometer assisted by a gyroscope according to an embodiment of the present invention with reference to the accompanying drawings.

图1是根据本发明一个实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法的流程图。如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of a method for calibrating the full error of a three-axis magnetometer based on a gyroscope according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:

步骤S1:将三轴陀螺仪与三轴磁强计固连组成的传感器组合模块安装于无磁长方体框架内,并对框架的六个面分别编号为1~6,其中,编号规则为:1和2面相对,且垂直于传感器组合模块z轴,3和4面相对,且垂直于传感器组合模块y轴,5和6面相对,且垂直于传感器组合模块x轴,具体例如图2和图3所示。Step S1: Install the sensor combination module composed of the three-axis gyroscope and the three-axis magnetometer fixedly connected in the non-magnetic cuboid frame, and number the six faces of the frame as 1 to 6, wherein the numbering rule is: 1 Opposite to 2 and perpendicular to the z-axis of the sensor combination module, 3 and 4 are opposite and perpendicular to the y-axis of the sensor combination module, 5 and 6 are opposite and perpendicular to the sensor combination module x-axis, such as Figure 2 and Figure 2 3 shown.

步骤S2:设定旋转圈数n,将框架编号为1的面朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,得到1组三轴磁强计与三轴陀螺仪输出数据,具体的旋转过程例如图4所示。Step S2: Set the number of rotations n, place the frame numbered 1 on a smooth and non-magnetic plane, and rotate the frame around the axis perpendicular to the plane for more than n turns to obtain a set of three-axis magnetometers and three-axis magnetometers. The gyroscope outputs data, and the specific rotation process is shown in Figure 4.

步骤S3:再将编号为2~6的面分别朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,得到另外5组三轴磁强计与三轴陀螺仪输出数据。Step S3: Place the surfaces numbered 2 to 6 on a smooth, non-magnetic plane with the faces numbered 2 to 6 facing upwards, and rotate the frame around the axis perpendicular to the plane for more than n turns to obtain the output of another 5 sets of three-axis magnetometers and three-axis gyroscopes. data.

需要说明的是,在本发明的一个实施例中,在上述步骤S2和S3中,对光洁平面的水平度没有要求,对磁强计的摆放时侧面的朝向没有要求,对顺时针与逆时针的旋转方向无要求,对长方体框架朝上的面的操作顺序无要求,对旋转速度无要求。It should be noted that, in an embodiment of the present invention, in the above steps S2 and S3, there is no requirement for the levelness of the smooth surface, and there is no requirement for the orientation of the side when the magnetometer is placed. There is no requirement for the rotation direction of the hour hand, no requirement for the operation sequence of the upward face of the cuboid frame, and no requirement for the rotation speed.

步骤S4:设定插值间隔角度Δθ,并设定框架朝上的面的编号k。Step S4: Set the interpolation interval angle Δθ, and set the number k of the frame facing upward.

具体地,在本发明的一个实施例中,插值间隔角度Δθ为360的公约数。Specifically, in an embodiment of the present invention, the interpolation interval angle Δθ is a common divisor of 360.

步骤S5:通过敏感轴垂直于旋转平面陀螺仪的输出积分得到每个采样点的旋转角θj,并当θj≥360n,停止积分,保存各采样点旋转角θ。Step S5: Pass the output of the gyroscope perpendicular to the rotation plane through the sensitive axis The rotation angle θ j of each sampling point is obtained by integration, and when θ j ≥ 360n, the integration is stopped and the rotation angle θ of each sampling point is saved.

具体地,在本发明的一个实施例中,角度θj为相对旋转角度。Specifically, in an embodiment of the present invention, the angle θ j is a relative rotation angle.

步骤S6:根据各采样点旋转角θ与各采样点三轴磁强计输出mk,计算等角度间隔的三轴磁强计插值输出。Step S6: According to the rotation angle θ of each sampling point and the triaxial magnetometer output m k of each sampling point, calculate the triaxial magnetometer interpolation output at equal angular intervals.

具体地,在本发明的一个实施例中,通过如下插值公式计算等角度间隔的三轴磁强计插值输出:Specifically, in one embodiment of the present invention, the three-axis magnetometer interpolation output of equal angular intervals is calculated by the following interpolation formula:

步骤S7:改变框架朝上的面的编号k,重复步骤S5至S6,得到另外5组三轴磁强计插值输出,最终得到三轴磁强计插值输出为:i=1~360n/Δθ,k=1~6。Step S7: Change the number k of the face of the frame facing upward, and repeat steps S5 to S6 to obtain another 5 sets of three-axis magnetometer interpolation output, and finally obtain the three-axis magnetometer interpolation output as: i=1~360n/Δθ, k=1~6.

步骤S8:根据最终得到的三轴磁强计插值输出计算零偏误差向量。Step S8: Calculate the zero bias error vector according to the finally obtained three-axis magnetometer interpolation output.

具体地,在本发明的一个实施例中,通过如下公式计算零偏误差向量:Specifically, in an embodiment of the present invention, the zero bias error vector is calculated by the following formula:

步骤S9:获取垂直于平面的磁场分量hStep S9: Obtain the magnetic field component h perpendicular to the plane.

具体地,在本发明的一个实施例中,磁场分量h为预先设定,或者通过预设公式计算得到磁场分量h。换言之,即通过已知数据,设定垂直于平面的磁场分量h,或通过预设公式,计算得到垂直于平面的磁场分量hSpecifically, in an embodiment of the present invention, the magnetic field component h is preset, or the magnetic field component h is obtained by calculation through a preset formula. In other words, through known data, set the magnetic field component h perpendicular to the plane, or calculate and obtain the magnetic field component h perpendicular to the plane through a preset formula.

更为具体地,预设公式例如为:More specifically, the preset formula is, for example:

步骤S10:根据三轴磁强计插值输出与磁场分量h计算误差系数矩阵。Step S10: Calculate the error coefficient matrix according to the interpolation output of the three-axis magnetometer and the magnetic field component h .

具体地,在本发明的一个实施例中,误差系数矩阵为:K=[K1 K2 K3],其中,Specifically, in an embodiment of the present invention, the error coefficient matrix is: K=[K 1 K 2 K 3 ], where,

步骤S11:根据得到的零偏误差向量和误差系数矩阵,对三轴磁强计原始输出进行误差补偿。Step S11: Perform error compensation on the original output of the three-axis magnetometer according to the obtained zero bias error vector and error coefficient matrix.

具体地,在本发明的一个实施例中,对三轴磁强计原始输出进行误差补偿的方式为:Specifically, in an embodiment of the present invention, the method of performing error compensation on the original output of the three-axis magnetometer is:

其中,为补偿后的三轴磁强计输出。进一步地,用转台提供旋转角的参考值,对比标定前后由磁强计计算的角度误差。作为具体的示例,标定前后三轴磁强计输出值例如图5所示;标定前后x、y轴磁强计输出值例如图6所示;标定前后x、z轴磁强计输出值例如图7所示;标定前后y、z轴磁强计输出值例如图8所示;标定前后三轴磁强计测角误差例如图9所示,从图中可以看出,标定后的三轴磁强计测角误差明显减小。in, It is the output of the three-axis magnetometer after compensation. Further, the reference value of the rotation angle is provided by the turntable, and the angle error calculated by the magnetometer before and after the calibration is compared. As a specific example, the output values of the three-axis magnetometer before and after calibration are shown in Fig. 5; the output values of the x and y-axis magnetometers before and after calibration are shown in Fig. 6; the output values of the x and z-axis magnetometers before and after calibration are shown in Fig. 7; the output values of the y and z-axis magnetometers before and after calibration are shown in Figure 8; the angle error of the three-axis magnetometer before and after calibration is shown in Figure 9. The angle measurement error of the strong meter is significantly reduced.

综上,根据本发明实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法,具有如下优点:To sum up, the gyroscope-assisted three-axis magnetometer full error calibration method according to the embodiment of the present invention has the following advantages:

1.该方法实现过程中对设备要求低,只需要用到无磁长方体框架,而三轴磁强计与三轴陀螺仪固连的传感器组合模块非常普遍;1. The implementation of this method has low requirements on equipment, and only needs to use a non-magnetic cuboid frame, and the sensor combination module in which the three-axis magnetometer and the three-axis gyroscope are fixedly connected is very common;

2.该方法操作简单,对磁强计的翻转没有北向对准等要求,旋转过程不需要控制精确的旋转角度,对旋转速度和旋转方向也没有特殊要求;2. The method is simple to operate, and there is no requirement for north alignment for the flip of the magnetometer. The rotation process does not need to control the precise rotation angle, and there are no special requirements for the rotation speed and rotation direction;

3.该方法计算简单,通过线性插值得到等角度间隔的磁强计插值输出,再通过磁强计插值输出,通过一次线性方程得到误差系数矩阵和零偏误差向量,不涉及最小二乘法、非线性方程组等求解问题;3. This method is simple to calculate. The magnetometer interpolation output of equal angular intervals is obtained through linear interpolation, and then the magnetometer interpolation output is used to obtain the error coefficient matrix and zero-bias error vector through a linear equation. Solving problems such as systems of linear equations;

4.该方法操作简单,计算简单,从而使得标定过程所需时间短;4. The method is simple to operate and simple to calculate, so that the time required for the calibration process is short;

5.该方法有效地利用了捷联惯性导航设备中的陀螺仪来辅助完成磁强计全误差标定。5. The method effectively utilizes the gyroscope in the strapdown inertial navigation equipment to assist in completing the full error calibration of the magnetometer.

为了便于更好地理解本发明,以下结合具体实施例对本发明上述实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法进行详细的示例性描述。In order to facilitate a better understanding of the present invention, the following detailed exemplary description of the method for calibrating the full error of a three-axis magnetometer based on the gyroscope-assisted embodiment of the present invention is given in conjunction with specific embodiments.

实施例1Example 1

在本实施例中,该基于陀螺仪辅助的三轴磁强计全误差标定方法例如包括以下步骤:In this embodiment, the gyroscope-assisted three-axis magnetometer full error calibration method includes the following steps, for example:

a)选用SBG IG-500N三轴陀螺仪与三轴磁强计传感器组合模块,加工无磁长方体框架,并将传感器模块安装于框架内。a) Select the SBG IG-500N three-axis gyroscope and three-axis magnetometer sensor combination module, process the non-magnetic cuboid frame, and install the sensor module in the frame.

b)将三轴磁强计与三轴陀螺仪的传感器组合模块安装于长方体框架内,对框架的六个面编号1~6,编号规则为:1和2面相对,垂直于传感器组合模块z轴;3和4面相对,垂直于传感器组合模块y轴;5和6面相对,垂直于传感器组合模块x轴。b) Install the sensor combination module of the three-axis magnetometer and the three-axis gyroscope in the cuboid frame, number the six sides of the frame from 1 to 6, and the numbering rule is: 1 and 2 are opposite, perpendicular to the sensor combination module z Axis; faces 3 and 4 are opposite and perpendicular to the y-axis of the sensor combination module; faces 5 and 6 are opposite and perpendicular to the x-axis of the sensor combination module.

c)设定旋转圈数n=2。将框架编号为1的面朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,保存1组三轴磁强计与三轴陀螺仪输出数据。c) Set the number of rotations n=2. Place the frame numbered 1 face up on a smooth, non-magnetic plane, rotate the frame around the axis perpendicular to the plane for more than n turns, and save the output data of a set of three-axis magnetometers and three-axis gyroscopes.

d)再将编号2~6面分别朝上置于光洁无磁平面上,绕垂直于平面的轴旋转框架超过n圈,得到另外5组三轴磁强计与三轴陀螺仪输出数据。d) Place the numbered 2 to 6 faces on a smooth and non-magnetic plane respectively, and rotate the frame around the axis perpendicular to the plane for more than n turns to obtain the output data of another 5 sets of three-axis magnetometers and three-axis gyroscopes.

e)设定插值间隔角度Δθ=1°,并设定框架朝上的面的编号k=1。e) Set the interpolation interval angle Δθ=1°, and set the number k=1 of the face of the frame facing upward.

f)通过敏感轴垂直于旋转平面陀螺仪的输出积分得到每个采样点的旋转角θj。当θj≥360n,停止积分,保存各采样点旋转角θ。f) The output of the gyroscope through the sensitive axis perpendicular to the plane of rotation Integrate to obtain the rotation angle θ j for each sample point. When θ j ≥ 360n, stop the integration and save the rotation angle θ of each sampling point.

g)由各采样点旋转角θ与各采样点三轴磁强计输出mk,通过如下插值公式:g) According to the rotation angle θ of each sampling point and the output m k of the three-axis magnetometer of each sampling point, the following interpolation formula is used:

得到三轴磁强计插值输出i=1~360n/Δθ。Get the three-axis magnetometer interpolation output i=1 to 360n/Δθ.

h)改变框架朝上的面的编号k,分别取k=2~6,重复步骤e~f,得到另外5组三轴磁强计插值输出,最终得到i=1~360n/Δθ,k=1~6。h) Change the number k of the upward face of the frame, take k = 2 to 6 respectively, repeat steps e to f, and obtain another 5 sets of three-axis magnetometer interpolation outputs, and finally get i=1~360n/Δθ, k=1~6.

i)通过以下公式,计算得到零偏误差向量:i) Calculate the zero bias error vector by the following formula:

j)设定垂直于平面的磁场分量h,或通过以下公式,计算得到垂直于平面的磁场分量:j) Set the magnetic field component perpendicular to the plane h , or calculate the magnetic field component perpendicular to the plane by the following formula:

k)通过以下公式,计算得到误差系数矩阵K=[K1K2K3],其中,k) Calculate the error coefficient matrix K=[K 1 K 2 K 3 ] through the following formula, wherein,

l)由步骤h与步骤j中得到的零偏误差向量与误差系数矩阵,对磁强计原始输出进行误差补偿,得到补偿后输出:l) Perform error compensation on the original output of the magnetometer from the zero bias error vector and error coefficient matrix obtained in step h and step j, and obtain the output after compensation:

m)用转台提供旋转角的参考值,对比标定前后由磁强计计算的角度误差。m) Use the turntable to provide the reference value of the rotation angle, and compare the angle error calculated by the magnetometer before and after calibration.

综上,根据本发明实施例的基于陀螺仪辅助的三轴磁强计全误差标定方法,具有如下优点:To sum up, the gyroscope-assisted three-axis magnetometer full error calibration method according to the embodiment of the present invention has the following advantages:

1.该方法实现过程中对设备要求低,只需要用到无磁长方体框架,而三轴磁强计与三轴陀螺仪固连的传感器组合模块非常普遍;1. The implementation of this method has low requirements on equipment, and only needs to use a non-magnetic cuboid frame, and the sensor combination module in which the three-axis magnetometer and the three-axis gyroscope are fixedly connected is very common;

2.该方法操作简单,对磁强计的翻转没有北向对准等要求,旋转过程不需要控制精确的旋转角度,对旋转速度和旋转方向也没有特殊要求;2. The method is simple to operate, and there is no requirement for north alignment for the flip of the magnetometer. The rotation process does not need to control the precise rotation angle, and there are no special requirements for the rotation speed and rotation direction;

3.该方法计算简单,通过线性插值得到等角度间隔的磁强计插值输出,再通过磁强计插值输出,通过一次线性方程得到误差系数矩阵和零偏误差向量,不涉及最小二乘法、非线性方程组等求解问题;3. This method is simple to calculate. The magnetometer interpolation output of equal angular intervals is obtained through linear interpolation, and then the magnetometer interpolation output is used to obtain the error coefficient matrix and zero-bias error vector through a linear equation. Solving problems such as systems of linear equations;

4.该方法操作简单,计算简单,从而使得标定过程所需时间短;4. The method is simple to operate and simple to calculate, so that the time required for the calibration process is short;

5.该方法有效地利用了捷联惯性导航设备中的陀螺仪来辅助完成磁强计全误差标定。5. The method effectively utilizes the gyroscope in the strapdown inertial navigation equipment to assist in completing the full error calibration of the magnetometer.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同限定。Although embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, The scope of the invention is defined by the claims and their equivalents.

Claims (9)

1. A gyroscope-assisted three-axis magnetometer total-error calibration method is characterized by comprising the following steps:
s1: install the sensor composite module that three-axis gyroscope and three-axis magnetometer linked firmly and constitute in the cuboid frame to six faces to the frame number respectively for 1 ~ 6, wherein, the numbering rule is: the 1 and 2 faces are opposite and vertical to a z axis of the combined sensor module, the 3 and 4 faces are opposite and vertical to a y axis of the combined sensor module, and the 5 and 6 faces are opposite and vertical to an x axis of the combined sensor module;
s2: setting the number of rotation turns n, placing the surface with the frame number 1 on a smooth and clean nonmagnetic plane, rotating the frame around an axis vertical to the plane for more than n turns to obtain 1 group of output data of the three-axis magnetometer and the three-axis gyroscope;
s3: respectively placing the surfaces with the numbers of 2-6 upwards on a smooth and clean non-magnetic plane, and rotating the frame around an axis vertical to the plane for more than n circles to obtain output data of the other 5 groups of three-axis magnetometers and three-axis gyroscopes;
s4: setting an interpolation interval angle delta theta and setting a number k of a face with the frame facing upwards;
s5: output of a gyroscope with sensitive axis perpendicular to the plane of rotationThe rotation angle theta of each sampling point is obtained by integrationjAnd when theta isjStopping integration when the number is more than or equal to 360n, and storing the rotation angle theta of each sampling point;
s6: according to the rotation angle theta of each sampling point and the output m of the three-axis magnetometer of each sampling pointkCalculating the interpolation output of the triaxial magnetometer with equal angular intervals;
s7: changing the number k of the face with the frame facing upwards, repeating the steps S5 to S6 to obtain the interpolation output of the other 5 groups of the three-axis magnetometers, and finally obtaining the interpolation output of the three-axis magnetometers
S8: calculating a zero offset error vector according to the finally obtained interpolation output of the triaxial magnetometer;
s9: obtaining a magnetic field component h perpendicular to the plane
S10: according to the interpolation output of the three-axis magnetometer and the magnetic field component hCalculating an error coefficient matrix;
s11: and according to the obtained zero offset error vector and the error coefficient matrix, carrying out error compensation on the original output of the triaxial magnetometer.
2. The gyroscope-assisted triaxial magnetometer-based full-error calibration method according to claim 1, wherein in the step S6, the interpolated output of equiangularly spaced triaxial magnetometers is calculated by the following formula:
3. the gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 2, wherein in the step S8, the zero-offset error vector is calculated by the following formula:
4. the gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 3, wherein in S9, the magnetic field component hThe magnetic field component h is preset or calculated by a preset formula
5. The gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 4, wherein the preset formula is as follows:
6. the gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 5, wherein in the step S10, the error coefficient matrix is: k ═ K1 K2 K3]Wherein
7. the gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 6, wherein in the step S11, the error compensation method for the original output of the three-axis magnetometer is as follows:
wherein,is the compensated output of the triaxial magnetometer.
8. The gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 1, wherein in the step S5, the angle θ isjIs a relative rotation angle.
9. The gyroscope-assisted three-axis magnetometer-based full-error calibration method according to claim 1, wherein in S4, the interpolation interval angle Δ θ is a common divisor of 360.
CN201710362481.4A 2017-05-22 2017-05-22 Three axis magnetometer total error scaling method based on gyroscope auxiliary Active CN107024673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710362481.4A CN107024673B (en) 2017-05-22 2017-05-22 Three axis magnetometer total error scaling method based on gyroscope auxiliary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710362481.4A CN107024673B (en) 2017-05-22 2017-05-22 Three axis magnetometer total error scaling method based on gyroscope auxiliary

Publications (2)

Publication Number Publication Date
CN107024673A CN107024673A (en) 2017-08-08
CN107024673B true CN107024673B (en) 2019-05-28

Family

ID=59529782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710362481.4A Active CN107024673B (en) 2017-05-22 2017-05-22 Three axis magnetometer total error scaling method based on gyroscope auxiliary

Country Status (1)

Country Link
CN (1) CN107024673B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656227B (en) * 2017-09-21 2019-10-11 大连理工大学 Magnetometer Calibration Method Based on Levenberg-Marquardt Algorithm
EP3857167B1 (en) * 2018-09-25 2024-09-25 Ceva Technologies, Inc. Methods and apparatus for calibrating the zero rate output of a sensor
CN111239667B (en) * 2020-03-16 2021-07-30 吉林大学 A Unified Calibration Method for Magnetic Gradient Tensors of Different Orders
CN113126642B (en) * 2021-04-26 2022-12-02 广东华南计算技术研究所 Yaw angle measuring method based on multi-MEMS inertial sensor
CN113063447B (en) * 2021-06-02 2021-08-13 北京三快在线科技有限公司 Gyroscope calibration method and device, readable storage medium and electronic equipment
CN113325353B (en) * 2021-07-09 2022-06-21 中国科学院上海微系统与信息技术研究所 Magnetometer spatial attitude calibration method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0756179A2 (en) * 1995-07-26 1997-01-29 AT&T IPM Corp. System and method for calibrating multi-axial measurement devices in the presence of a uniform field
CN101251584A (en) * 2008-04-09 2008-08-27 武汉大学 Three-axis magnetometer calibration method and three-axis magnetic gradiometer calibration method
CN102589573A (en) * 2012-02-09 2012-07-18 黑龙江省博凯科技开发有限公司 Sensor field calibration method in miniature integrated navigation system
CN102879832A (en) * 2012-09-21 2013-01-16 中国人民解放军国防科学技术大学 Non-alignment error correction method used for geomagnetic element measuring system
CN104459828A (en) * 2014-12-08 2015-03-25 中国人民解放军国防科学技术大学 Geomagnetism vector system non-alignment correction method based on axis rotating method
CN105180968A (en) * 2015-09-02 2015-12-23 北京天航华创科技股份有限公司 IMU/magnetometer installation misalignment angle online filter calibration method
CN106125026A (en) * 2016-06-12 2016-11-16 哈尔滨工程大学 A kind of three axis magnetometer total error parameter identification not relying on field, earth's magnetic field amount and bearing calibration
CN106289243A (en) * 2016-08-03 2017-01-04 上海乐相科技有限公司 A kind of magnetometer automatic calibrating method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9677889B2 (en) * 2012-06-21 2017-06-13 Innovative Solutions & Support, Inc. Method and system for compensating for soft iron magnetic disturbances in multiple heading reference systems
US20170123035A1 (en) * 2015-10-29 2017-05-04 Kespry, Inc. Autonomous magnetometer calibration

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0756179A2 (en) * 1995-07-26 1997-01-29 AT&T IPM Corp. System and method for calibrating multi-axial measurement devices in the presence of a uniform field
CN101251584A (en) * 2008-04-09 2008-08-27 武汉大学 Three-axis magnetometer calibration method and three-axis magnetic gradiometer calibration method
CN102589573A (en) * 2012-02-09 2012-07-18 黑龙江省博凯科技开发有限公司 Sensor field calibration method in miniature integrated navigation system
CN102879832A (en) * 2012-09-21 2013-01-16 中国人民解放军国防科学技术大学 Non-alignment error correction method used for geomagnetic element measuring system
CN104459828A (en) * 2014-12-08 2015-03-25 中国人民解放军国防科学技术大学 Geomagnetism vector system non-alignment correction method based on axis rotating method
CN105180968A (en) * 2015-09-02 2015-12-23 北京天航华创科技股份有限公司 IMU/magnetometer installation misalignment angle online filter calibration method
CN106125026A (en) * 2016-06-12 2016-11-16 哈尔滨工程大学 A kind of three axis magnetometer total error parameter identification not relying on field, earth's magnetic field amount and bearing calibration
CN106289243A (en) * 2016-08-03 2017-01-04 上海乐相科技有限公司 A kind of magnetometer automatic calibrating method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Extended Kalman Filter-Based Gyroscope-Aided Magnetometer Calibration for Consumer Electronic Devices;Ke Han 等;《IEEE SENSORS JOURNAL》;20170101;第17卷(第1期);第63-71页

Also Published As

Publication number Publication date
CN107024673A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN107024673B (en) Three axis magnetometer total error scaling method based on gyroscope auxiliary
Fang et al. A novel calibration method of magnetic compass based on ellipsoid fitting
US6543146B2 (en) Electronic compass and compensation of large magnetic errors for operation over all orientations
CN107024674B (en) A fast on-site calibration method of magnetometer based on recursive least squares method
CN102879832B (en) Non-alignment error correction method used for geomagnetic element measuring system
CN1330935C (en) Microinertia measuring unit precisive calibration for installation fault angle and rating factor decoupling
WO2006035505A1 (en) Magnetic sensor control method, magnetic sensor controller and portable terminal device
CN104459828B (en) Based on the non-aligned bearing calibration of earth magnetism vector system around method of principal axes
CN102818564B (en) Calibration method of three-dimensional electronic compass
CN111121824B (en) A kind of calibration method of MEMS sensor
KR20060060666A (en) Device using 2-axis magnetic sensor for troubleshooting 3-axis compass
CN107121707A (en) A kind of error calibration method of magnetic sensor measuring basis and structure benchmark
EP3411725A1 (en) A method and device for calibration of a three-axis magnetometer
CN103196462A (en) Compensation method for error calibration of MEMS gyroscope in MIMU
CN102252689A (en) Electronic compass calibration method based on magnetic sensor
CN101241009A (en) A kind of magnetic electronic compass error compensation method
CN105509768B (en) A kind of error calibrating method of single shaft north finder
CN112698258B (en) An integrated error correction method for a three-axis magnetometer
CN103411623A (en) Rate gyroscope calibrating method
CN109059960A (en) A kind of calibration method of three-dimensional electronic compass
CN113203415B (en) An atomic gyro navigation system and its navigation solution method
CN101900572B (en) Rapid measuring method for installation error of strapdown inertial system gyroscope based on three-axle rotary table
CN112461224A (en) Magnetometer calibration method based on known attitude angle
CN116481564A (en) Coordinated Calibration Method of Polar Dual Inertial Navigation Based on Psi Angle Error Correction Model
CN104677355B (en) Virtual gyro and method based on Multi-sensor Fusion

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
GR01 Patent grant
GR01 Patent grant