CN104614555A - Gauss-Newton-based tri-axis accelerometer automatically calibrating method - Google Patents

Gauss-Newton-based tri-axis accelerometer automatically calibrating method Download PDF

Info

Publication number
CN104614555A
CN104614555A CN201510033373.3A CN201510033373A CN104614555A CN 104614555 A CN104614555 A CN 104614555A CN 201510033373 A CN201510033373 A CN 201510033373A CN 104614555 A CN104614555 A CN 104614555A
Authority
CN
China
Prior art keywords
formula
axis accelerometer
dtri
matrix
newton
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
Application number
CN201510033373.3A
Other languages
Chinese (zh)
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.)
Guangdong Institute of Automation
Original Assignee
Guangdong Institute of Automation
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 Guangdong Institute of Automation filed Critical Guangdong Institute of Automation
Priority to CN201510033373.3A priority Critical patent/CN104614555A/en
Publication of CN104614555A publication Critical patent/CN104614555A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

The invention discloses a tri-axis accelerometer automatically calibrating method based on Gauss-Newton optimal iteration. The tri-axis accelerometer automatically calibrating method takes the zero shift errors, the proportional errors and the non-orthogonal errors of a tri-axis accelerometer into consideration and comprises the following steps of, firstly, establishing a calibration model; secondly, simplifying the calibration model; thirdly, statically placing the tri-axis accelerometer in positions in n different directions for n times of measurement, and collecting the output data of the tri-axis accelerometer; fourthly, performing solution through the Newton iteration method; fifthly, through the Jacobian matrix, simplifying the Newton iteration equation, namely, the Gauss-Newton algorithm; sixthly, setting initial calibration parameters and obtaining calibration data and output data calibrated by the tri-axis accelerometer. The tri-axis accelerometer automatically calibrating method based on the Gauss-Newton optimal iteration only needs to collect a plurality of groups of static accelerometer data in different directions, thereby being convenient to operate, saving expensive calibration equipment and control systems and being applicable generalized application.

Description

Based on the three axis accelerometer automatic calibrating method of Gauss-Newton
Technical field
The present invention relates to sensor calibration technique field, be specifically related to a kind of three axis accelerometer automatic calibrating method based on Gauss-Newton of almost cost free, the field with accelerometer of custom requirements can be applied in, such as the field of the Water demand system motions such as somatic sensation television game, virtual augmented reality, robot, unmanned plane.
Background technology
Along with progress and the extensively utilization of micro-electronic mechanical system technique, sensor is little towards weight, and the direction that performance high price is low develops rapidly.This also makes the utilization of sensor expand to field widely.Three axis accelerometer can measure the acceleration of moving object, can analyze the motion of object, obtains position and the direction of object.Accelerometer and gyroscope combine the Inertial Measurement Unit of composition, are the most basic sensors of kinematic system.The accuracy of the output of accelerometer is vital in these kinematic systems.Accelerometer calibration can improve the output accuracy of accelerometer, improves the performance of these kinematic systems.But calibration conventional at present all needs expensive calibration platform and control system.Therefore, a cost is low, and easy to operate calibration steps has important practical significance.
Summary of the invention
For the problems referred to above, the object of the present invention is to provide a kind of three axis accelerometer automatic calibrating method based on Gauss-Newton, it can accurate and effective calibrating accolerometer easily, reduce the impact that accelerometer error brings, have simple to operate, without any need for the advantage of the correcting device of costliness.
For achieving the above object, the technical scheme that the present invention takes is:
A kind of three axis accelerometer automatic calibrating method based on Gauss-Newton, described automatic calibrating method only considers the drift error of three axis accelerometer, proportional error and non-orthogonal errors, and do not consider the error that temperature variation and random drift are brought, it comprises the following steps:
Step 1, set up calibrating patterns:
V=KNA+B (1)
In formula (1): V is that output valve measured by three axis accelerometer:
V=[V xV yV z] T(2)
K is proportional error matrix:
K=diag{K x,K y,K z} (3)
N is non-orthogonal errors matrix:
N = N xx N xy N xz N yx N yy N yz N zx N zy N zz - - - ( 4 )
A is the value that accelerometer ideal exports:
A=[A xA yA z] T(5)
B is drift error matrix:
B=[B xB yB z] T(6)
Step 2, under the impact not considering temperature variation, proportional error matrix K and non-orthogonal errors matrix N are normal matrix, and the two is merged into a matrix, and now, formula (1) can be rewritten into:
A=M(V-B) (7)
Wherein:
M = ( KN ) - 1 = M xx M xy M xz M yx M yy M yz M zx M zy M zz ≈ M xx M xy M xz M xy M yy M yz M xz M yz M zz - - - ( 8 )
Step 3, when three axis accelerometer is static measure is acceleration of gravity constant g=9.8m/s 2, so have in the ideal case:
A x 2+A y 2+A z 2=g 2(9)
In a calibration process, static for the three axis accelerometer n of being placed on (n should be not less than calibration parameter number, and namely n is more than or equal to 9) individual difference towards position carry out n time and measure, gather the output data of three axis accelerometer, the error e that definition kth time is measured kfor:
e k=V xk 2+V yk 2+V zk 2-g 2(10)
In formula (10): 1≤k≤n;
Therefore, the global error function measured for n time is least squares formalism:
f ( p ) = Σ k = 1 n e k 2 ( p ) - - - ( 11 )
In formula (11), p is calibration parameter, p=[p 1... p 9]=[M xxm xym xzm yym yzm zzb xb yb z] t;
From formula (11), described global error function is the nonlinear equation of calibration parameter, and formula (11) can be write as:
f(p)=e(p) Te(p) (12)
In formula (12), e (p)=[e 1(p) e 2(p) ... e n(p)] t;
Step 4, by set up Newton iteration equation adopt Newton iteration method solve formula (12), Newton iteration method has the characteristic of quadratic convergence, only need to provide an initial calibration parameter value can solve formula (12), the Newton iteration equation of formula (12) through type (13) is to solution iteration:
p t + 1 = p t - α ▿ f ( p t ) ▿ 2 f ( p t ) - - - ( 13 )
In formula (13): p tfor the vectorial p of calibration parameter composition is the iterative value of the t time, for the gradient of global error function, the gloomy matrix in sea for global error function, α is ratio of damping;
The end condition of iteration is:
max { | p t - p t - 1 ( p t + p t - 1 ) / 2 | } < &epsiv; - - - ( 14 )
In formula (14), ε is threshold value, described threshold epsilon=1.5 × 10 -6;
Step 5, simplified (i.e. Gauss-Newton method) formula (13) by Jacobian matrix, described Jacobian matrix is:
J ( p ) = [ &PartialD; e j &PartialD; p i ] j = 1 , . . . , n ; i = 1 , . . . , 9 = &dtri; e 1 ( p ) T &dtri; e 2 ( p ) T . . . &dtri; e n ( p ) T - - - ( 15 )
Then the gradient of global error equation and Hai Sen matrix adopt Jacobian matrix to be expressed as:
&dtri; f ( p ) = &Sigma; j = 1 n e j ( p ) &dtri; e j ( p ) = J ( p ) T e ( p ) - - - ( 16 )
&dtri; 2 f ( p ) = &Sigma; j = 1 n &dtri; e j ( p ) &dtri; e j ( p ) T + &Sigma; j = 1 n e j ( p ) &dtri; 2 e j ( p ) = J ( p ) T J ( p ) + &Sigma; j = 1 n e j ( p ) &dtri; 2 e j ( p ) &ap; J ( p ) T J ( p ) - - - ( 17 )
Wherein extra large gloomy matrix is similar to, and have ignored quadratic term.
Formula (16) and formula (17) are substituted into formula (13) simplify, the iterative equation after being simplified, shown in (18):
p t + 1 = p t - &alpha; J ( p ) T e ( p ) J ( p ) T J ( p ) - - - ( 18 )
Step 6, initial calibration parameter is set, and this initial calibration parameter is substituted into the iterative equation (18) after simplifying, with formula (14) for condition solves calibration parameter p, wherein, initial calibration parameter p 0=[1 0010100 0] t, after solving calibration parameter p, then the three axis accelerometer substituted into after formula (7) acquisition calibration exports data.
Compared with prior art, beneficial effect of the present invention is: calibration process of the present invention only needs to gather several groups of differences towards static accelerometer data, namely can accurate and effective calibrating accolerometer easily, reduce the impact that accelerometer error brings, have easy and simple to handle, not needing high correcting device and control system, is a kind of accelerometer calibration method that can generally use.
Accompanying drawing explanation
Fig. 1 output effect figure that to be model be before MPU6050 3-axis acceleration meter calibrating;
Fig. 2 adopts the output effect figure after the present invention is based on the three axis accelerometer automatic calibrating method of Gauss-Newton.
Embodiment
Below in conjunction with the drawings and specific embodiments, content of the present invention is described in further details.
Embodiment
With sensor MPU6050, (it comprises three axis accelerometer and gyroscope, here only use three axis accelerometer) data bit Z-axis direction under horizontal stationary place the data instance that a period of time collects, stopped by above-mentioned calibration steps iterative equation t=7 up-to-date style (13) Suo Shi, thus obtain the value of 9 calibration parameters, be respectively: Mxx=0.9870, Mxy=0.1423, Mxz=0.005172, Myy=0.9873, Myz=0.004121, Mzz=0.9922, Bx=-0.1866, By=-0.0515, Bz=-0.0131, then the average that after obtaining calibration, three axis accelerometer exports, below experimental result:
As shown in Figure 1, the average that before calibration, three axis accelerometer exports is respectively :-0.3604 ,-0.2814,9.780.
As shown in Figure 2, the average that after calibration, three axis accelerometer exports is respectively :-0.1205 ,-0.1012,9.799.
In theory, horizontal positioned accelerometer under Z-axis direction, the value of output is: 0,0,9.8, through calibration, can find out with the average of calibration post-acceleration meter output before calibrating, the precision after calibration significantly improves (output after calibration is closer to theoretical value).
By the effect contrast figure before comparison calibration and after calibration, can find out that this calibration steps effectively can improve the precision of accelerometer.
Above-listed detailed description is illustrating for possible embodiments of the present invention, and this embodiment is also not used to limit the scope of the claims of the present invention, and the equivalence that all the present invention of disengaging do is implemented or changed, and all should be contained in the scope of the claims of this case.

Claims (1)

1. based on the three axis accelerometer automatic calibrating method of Gauss-Newton, it is characterized in that, described automatic calibrating method only considers the drift error of three axis accelerometer, proportional error and non-orthogonal errors, and does not consider the error that temperature variation and random drift are brought, and it comprises the following steps:
Step 1, set up calibrating patterns:
V=KNA+B (1)
In formula (1): V is that output valve measured by three axis accelerometer:
V=[V xV yV z] T(2)
K is proportional error matrix:
K=diag{K x,K y,K z} (3)
N is non-orthogonal errors matrix:
N = N xx N xy N xz N yx N yy N yz N zx N zy N zz - - - ( 4 )
A is the value that accelerometer ideal exports:
A=[A xA yA z] T(5)
B is drift error matrix:
B=[B xB yB z] T(6)
Step 2, under the impact not considering temperature variation, proportional error matrix K and non-orthogonal errors matrix N are normal matrix, and the two is merged into a matrix, and now, formula (1) can be rewritten into:
A=M(V-B) (7)
Wherein:
M = ( KN ) - 1 = M xx M xy M xz M yx M yy M yz M zx M zy M zz &ap; M xx M xy M xz M xy M yy M yz M xz M yz M zz - - - ( 8 )
Step 3, when three axis accelerometer is static measure is acceleration of gravity constant g=9.8m/s 2, so have in the ideal case:
A x 2+A y 2+A z 2=g 2(9)
In a calibration process, static for three axis accelerometer the n of being placed on different towards position carry out n time and measure, gather the output data of three axis accelerometer, the error e of definition kth time measurement kfor:
e k=V xk 2+V yk 2+V zk 2-g 2(10)
In formula (10): 1≤k≤n, n will equal greatly calibration parameter number;
Therefore, the global error function measured for n time is least squares formalism:
f ( p ) = &Sigma; k = 1 n e k 2 ( p ) - - - ( 11 )
In formula (11), p is calibration parameter, p=[p 1... p 9]=[M xxm xym xzm yym yzm zzb xb yb z] t;
From formula (11), described global error function is the nonlinear equation of calibration parameter, and formula (11) can be write as:
f(p)=e(p) Te(p) (12)
In formula (12), e (p)=[e 1(p) e 2(p) ... e n(p)] t;
Step 4, by set up Newton iteration equation adopt Newton iteration method solve formula (12), Newton iteration method has the characteristic of quadratic convergence, only need to provide an initial calibration parameter value can solve formula (12), the Newton iteration equation of formula (12) through type (13) is to solution iteration:
p t + 1 = p t - &alpha; &dtri; f ( p t ) &dtri; 2 f ( p t ) - - - ( 13 )
In formula (13): p tfor the vectorial p of calibration parameter composition is the iterative value of the t time, for the gradient of global error function, the gloomy matrix in sea for global error function, α is ratio of damping;
The end condition of iteration is:
max { | p t - p t - 1 ( p t + p t - 1 ) / 2 | } < &epsiv; - - - ( 14 )
In formula (14), ε is threshold value, described threshold epsilon=1.5 × 10 -6;
Step 5, simplified formula (13) by Jacobian matrix, described Jacobian matrix is:
J ( p ) = [ &PartialD; e j &PartialD; p i ] j = 1 , . . . , n ; i = 1 , . . . , 9 = &dtri; e 1 ( p ) T &dtri; e 2 ( p ) T . . . &dtri; e n ( p ) T - - - ( 15 )
Then the gradient of global error equation and Hai Sen matrix adopt Jacobian matrix to be expressed as:
&dtri; f ( p ) = &Sigma; j = 1 n e j ( p ) &dtri; e j ( p ) = J ( p ) T e ( p ) - - - ( 16 )
&dtri; 2 f ( p ) = &Sigma; j = 1 n &dtri; e j ( p ) &dtri; e j ( p ) T + &Sigma; j = 1 n e j ( p ) &dtri; 2 e j ( p ) = J ( p ) T J ( p ) + &Sigma; j = 1 n e j ( p ) &dtri; 2 e j ( p ) &ap; J ( p ) T J ( p ) - - - ( 17 )
Formula (16) and formula (17) are substituted into formula (13) simplify, the iterative equation after being simplified, shown in (18):
p t + 1 = p t - &alpha; J ( p ) T e ( p ) J ( p ) T J ( p ) - - - ( 18 )
Step 6, initial calibration parameter is set, and this initial calibration parameter is substituted into the iterative equation after simplifying, with (14) for condition solves calibration parameter p, wherein, initial calibration parameter p 0=[1 0010100 0] t.
CN201510033373.3A 2015-01-22 2015-01-22 Gauss-Newton-based tri-axis accelerometer automatically calibrating method Pending CN104614555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510033373.3A CN104614555A (en) 2015-01-22 2015-01-22 Gauss-Newton-based tri-axis accelerometer automatically calibrating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510033373.3A CN104614555A (en) 2015-01-22 2015-01-22 Gauss-Newton-based tri-axis accelerometer automatically calibrating method

Publications (1)

Publication Number Publication Date
CN104614555A true CN104614555A (en) 2015-05-13

Family

ID=53149093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510033373.3A Pending CN104614555A (en) 2015-01-22 2015-01-22 Gauss-Newton-based tri-axis accelerometer automatically calibrating method

Country Status (1)

Country Link
CN (1) CN104614555A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107014400A (en) * 2017-05-22 2017-08-04 南京信息工程大学 The self-checking device and calibration method of unmanned plane inertial navigation unit
CN107356786A (en) * 2017-07-31 2017-11-17 北京京东尚科信息技术有限公司 Calibration method and device, the computer-readable recording medium of accelerometer
CN112550297A (en) * 2020-12-16 2021-03-26 陕西法士特齿轮有限责任公司 Weight and gradient calculation method of pure electric commercial vehicle based on three-axis accelerometer
CN115597571A (en) * 2022-12-15 2023-01-13 西南应用磁学研究所(中国电子科技集团公司第九研究所)(Cn) Method for quickly calibrating and compensating error and installation error of electronic compass sensor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008068542A1 (en) * 2006-12-04 2008-06-12 Nokia Corporation Auto-calibration method for sensors and auto-calibrating sensor arrangement
CN101975872A (en) * 2010-10-28 2011-02-16 哈尔滨工程大学 Method for calibrating zero offset of quartz flexible accelerometer component

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008068542A1 (en) * 2006-12-04 2008-06-12 Nokia Corporation Auto-calibration method for sensors and auto-calibrating sensor arrangement
CN101975872A (en) * 2010-10-28 2011-02-16 哈尔滨工程大学 Method for calibrating zero offset of quartz flexible accelerometer component

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庞鸿锋等: "基于高斯牛顿迭代算法的三轴磁强计校正", 《仪器仪表学报》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107014400A (en) * 2017-05-22 2017-08-04 南京信息工程大学 The self-checking device and calibration method of unmanned plane inertial navigation unit
CN107014400B (en) * 2017-05-22 2023-09-26 南京信息工程大学 Automatic calibration device and calibration method for unmanned aerial vehicle inertial navigation unit
CN107356786A (en) * 2017-07-31 2017-11-17 北京京东尚科信息技术有限公司 Calibration method and device, the computer-readable recording medium of accelerometer
CN107356786B (en) * 2017-07-31 2020-02-07 北京京东尚科信息技术有限公司 Method and device for calibrating accelerometer and computer-readable storage medium
CN112550297A (en) * 2020-12-16 2021-03-26 陕西法士特齿轮有限责任公司 Weight and gradient calculation method of pure electric commercial vehicle based on three-axis accelerometer
CN115597571A (en) * 2022-12-15 2023-01-13 西南应用磁学研究所(中国电子科技集团公司第九研究所)(Cn) Method for quickly calibrating and compensating error and installation error of electronic compass sensor
CN115597571B (en) * 2022-12-15 2023-03-28 西南应用磁学研究所(中国电子科技集团公司第九研究所) Method for quickly calibrating and compensating error and installation error of electronic compass sensor

Similar Documents

Publication Publication Date Title
EP3364151B1 (en) Precision calibration method for attitude measurement system
CN107870001B (en) A kind of magnetometer bearing calibration based on ellipsoid fitting
Zhang et al. Improved multi-position calibration for inertial measurement units
CN105300384B (en) A kind of interactive filtering method determined for the attitude of satellite
CN105737823B (en) A kind of GPS/SINS/CNS Combinated navigation methods based on five rank CKF
CN104614555A (en) Gauss-Newton-based tri-axis accelerometer automatically calibrating method
CN104483973B (en) Low-orbit flexible satellite attitude tracking control method based on sliding-mode observer
CN103940433B (en) A kind of satellite attitude determination method based on the self adaptation square root UKF algorithm improved
CN107092759B (en) Dam displacement monitoring point optimal arrangement method based on gravity dam foundation parameter inversion
CN109682377A (en) A kind of Attitude estimation method based on the decline of dynamic step length gradient
Sun et al. Adaptive sensor data fusion in motion capture
CN109764870B (en) Carrier initial course estimation method based on transformation estimation modeling scheme
CN108731700A (en) A kind of weighting Euler&#39;s pre-integration method in vision inertia odometer
CN103674059A (en) External measured speed information-based horizontal attitude error correction method for SINS (serial inertial navigation system)
CN107144283A (en) A kind of high considerable degree optical pulsar hybrid navigation method for deep space probe
CN112240941B (en) Relative calibration method and system for gravity satellite-borne accelerometer
CN102607330A (en) Optimization method of baseline information in transfer alignment of inertial navigation system
CN103438907B (en) A kind of star sensor six degree of freedom is as the on-orbit calibration method of plane error
Gheorghe Advanced calibration method for 3-axis MEMS accelerometers
Bao et al. Barometer measurement error modeling and correction for UAH altitude tracking
CN103995152A (en) Three-dimensional measurement accelerometer error non-singularity estimation method in external field environment
CN105136150B (en) A kind of attitude determination method based on the fusion of multiple star sensor metrical information
CN103983274A (en) Inertial measurement unit calibration method suitable for low-precision no-azimuth reference biaxial transfer equipment
CN110186483B (en) Method for improving drop point precision of inertia guidance spacecraft
CN109443386A (en) A kind of real-time high-precision gravitational compensation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication