999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Calibration of three-axis magnetometer based on adaptive genetic algorithm

2017-09-12 01:12:37YUANGuangminYUANWeizhengLUODanyaoZHAOJingXUELiangLIXiaoying
關(guān)鍵詞:測(cè)量

YUAN Guang-min, YUAN Wei-zheng, LUO Dan-yao, ZHAO Jing, XUE Liang, LI Xiao-ying

(1. Ministry of Education Key Laboratory of Micro and Nano Systems for Aerospace, Northwestern Polytechnical University, Xi’an 710072, China; 2. Rocket Force University of Engineering, Xi’an 710025, China)

Calibration of three-axis magnetometer based on adaptive genetic algorithm

YUAN Guang-min1, YUAN Wei-zheng1, LUO Dan-yao1, ZHAO Jing1, XUE Liang2, LI Xiao-ying1

(1. Ministry of Education Key Laboratory of Micro and Nano Systems for Aerospace, Northwestern Polytechnical University, Xi’an 710072, China; 2. Rocket Force University of Engineering, Xi’an 710025, China)

In view that the precision of MEMS magnetometer can not meet the heading measurement requirement of the attitude measurement system, the error source of a three-axis magnetometer is modeled and analyzed, and a calibration method based on ellipsoid fitting and adaptive genetic algorithm is proposed. The adaptive genetic algorithm is employed to fit an ellipsoid using raw data obtained by the three-axis magnetometer, and the output data is corrected by using the ellipsoid estimated parameters to compensate offset, scale factors, hard iron and soft iron. The three-axis direction cosines of the sensor are fitted by least square method so that the calibration of the sensor can remove the non-orthogonality and mounting error. Finally, the proposed calibration method is applied to an attitude reference system to conduct the heading measuring experiments using raw data and calibrated data. Experiment results demonstrate that the heading deviation range is reduced to 0.7° from 4.5°,which shows that the heading accuracy is increased by 6.8 times.

MEMS magnetometer; calibration; ellipsoid fitting; adaptive genetic algorithm

MEMS three-axis magnetometer (TAM) is an important part of small aircraft’s attitude reference system. Due to the manufacture error, the commercial TAMs usually have such errors as offset, scale and nonorthogonality, etc.. This phenomenon leads to the error margin of about 1° - 2°[1-2]. In addition, the TAMs inevitably work under the influence of surrounding ferromagnetic materials, which badly affects the accuracy of navigation.

The common magnetometer calibration methods include multi-sensor fusing method[3], attitude-knowle-dge method[4], ellipse fitting method[5], ellipsoid fitting method[6], etc.. The multi-sensors fusing method fuses the data obtained from several sensors (TAM included)by using a filter, which relies on the reliabilities of other sensors. The attitude-knowledge method can only be used with the knowledge of attitude information, which requires using the navigation equipment with higher accuracy. The ellipse fitting method is simply in performing,which is only applied to plane motion. The ellipsoid fitting method is a novel calibration method, which simplifies the error model as an expression of an ellipsoid,and is allowed for simple implementation when the calibration accuracy is given.

A genetic algorithm, as a search algorithm, not only suits for complicate non-linear optimization but also keeps efficient in least-squares ellipsoid fitting. An SGA(Standard genetic algorithm) works in a random and direct way, however, it is easy to get stuck in local optimum. An AGA (adaptive genetic algorithm) is an improved GA, which tunes the genetic operators adaptively. Therefore, it can not only decrease the number of generations for the computational convergence, but also avoid getting stuck in local optimum. In this paper, we propose an ellipsoid fitting algorithm based on AGA to improve the heading measurement accuracy, and validate it by the test results.

1 Error sources analysis and error model of TAM

Considering the inevitable error, it is necessary to analyze the error source for the accurate calibration of TAMs. Generally, these errors are divided into three categories[7-8]: sensors error, mounting error and magnet error. The sensor errors include scale factors, offset and non-orthogonality. The magnet errors mainly include ferromagnetic materials (specifically refers to hard iron and soft iron, which distort the magnetic field detected by TAMs). The hard iron and soft iron are paramount interferences to TAM, in which the hard iron makes a shift, and the soft iron makes deformation and rotation on the detected magnetic field.

A mathematical model of TAM readings including the error sources is developed as follow:

Where Siis the matrix of the mounting error, N is the matrix of the nonorthogonality, Smis the matrix of the soft iron, Scis the vector of the scale factors, H is the vector of the hard iron, B is the offset vector, M is the geomagnetic vector, andis the measurement vector.

Considering the interaction between these errors and their combining interference to TAMs, it is impossible to make a separate error analysis on any part in the formula. According to ellipsoid fitting method[9-10], a conversion of Eq.(1) is given by Eq.(2):

Where A is the matrix combining mounting error and nonorthogonality, K is the matrix combining soft iron and scale factors, and P is the matrix combining hard iron and offset.

2 Ellipsoid model

In the axis-orthogonal case, the relation between M andM?is shown as follows:

Expressing the variables K and P with 9 unknown variables in Eq.(6) as follows:

Where D=diag(d1d2d3)is diagonal matrix whose elements are the square roots of eigenvalues of C1, and V is the matrix composed by eigenvectors of C1.

First, fit an ellipsoid to raw data obtained by a TAM. Determine a solution of parameters of the ellipsoid shown in Eq.(6). Next determine matrix K and P by Eq.(7) and Eq.(8). Finally compensate the outputs by Eq.(9). So the calibrated measurements of the earth’s magnetic field are obtained.

Where M′is a corrected vector.

3 Misalignment model

Next, the mathematics model of the nonorthogonality and the mounting error is developed. As shown in Fig.1, the solid lines denote the axis of the global reference frame/earth-fixed coordinate system. The dotted lines denote the actual axis of the sensor reference frame.The angles between z-axis in global reference frame and 3 axes in the sensor frame are represented as α, β and γ respectively. When the sensor frame rotates around z-axis in the global frame, the TAM’s measurements are given by:

Fig.1 Nonorthogonality and mounting error of three-axis magnetometer

Eq.(10) is linear since α, β, and γ are constant.Therefore, the least-squares method can be employed to estimate cosα, cosβ, and cosγ.

Rxand Rycan be determined in the same way. So that A is gotten according to Eq.(12). The readings of TAM can be corrected using Eq.(13).

4 Parameters’ optimal solution of TAM error model

Genetic algorithms (GA) are intelligent algorithms that mimic the process of natural selection, which are especially suit for multi-parameter optimization. We design an AGA for least-square ellipsoid fitting. In GAs,it is essential to tune Pm(mutation probability) and Pc(crossover probability). High recombination rate would lead to premature convergence of the genetic algorithms.On the contrary, small mutation rate may lead to genetic drift. Too high mutation rate may result in losing the appropriate solution unless an elitist selection is employed.Therefore, the algorithm evaluates every individual in each generation by fitness in order to make a comparison with the relative average value. Then, it tunes Pmand Pcusing Eq.(14) and (15) to ensure the solution’s globality.Where fmaxis the maximal fitness value of the population, fminis the minimal fitness value of the population,faveis the average fitness value of the population, f′is the larger fitness value of two individuals to crossover,and f is the fitness value of an individual.

The selection mechanism is based on the relationship between the individual fitness and the average value.The individuals with bigger fitness are subjected to greater Pcand Pm, which means they will be protected soon.Conversely, the individuals with smaller fitness are subjected to smaller Pcand Pmand will be eliminated.

The chromosome of an individual (or a solution)represents the parameters of the ellipsoid fitted to be estimated. A chromosome contains 5 decimal bits. For any parameter, its estimating precision is (Xmax-Xmin)/105.After the global optimal solution is found, the parameters need to be decoded from the encoded solution.

Overall operation of the AGA is presented in Fig.2.

Fig.2 Flow chart of the adaptive genetic algorithm’s overall operation

First, an initial population of 180 individuals is created randomly. Next, the measurements are corrected using Eq.(9), where the variables are decoded from a solution. The fitness of the solution is evaluated using Eq.(16). And the half of individuals with higher fitness from the population is selected as the parent generation.

Where Miis the calibrated measurement vectors, and M0is geomagnetic vector.

Then, we pick two individuals from parent generation and check whether these two variables cross through Pc(Eq.(14)). Two-point technique is employed to perform crossover. We pick one individual from parent generation and check whether this one is mutated through Pc(Eq.(15)). And uniform-type technique is employed to perform mutation. Repeating the above process with generations in the evolution, and when the difference between the average fitness value of a certain generation and the elitist individual in this generation is small enough, the required precision of the solution is met. The algorithm stops when the difference between the average fitness and optimal fitness can be ignored (judged by Eq.(17)) because we suppose that the precision is same as expected at this moment. Finally, terminate the running of procedure. The global optimal parameters can be decoded from the individual of the highest fitness.

5 Test results and analysis

We employ an attitude reference system (an IMU and a TAM) to determine heading angles by using data acquired by the TAM before and after calibration. First,we hold the sensor and rotate it in all directions arbitrarily to acquire the data under different attitudes.Next, we employ the algorithm to fit an ellipsoid and estimate parameters, and plot a comparing figure of raw data and fitted ellipsoid.

As shown in Fig.3, each raw data point lies nearly on the surface of the fitted ellipsoid, which means that the ellipsoid is well-fitted. And K and P are determined by using Eq.(7) and Eq.(8).

Then, we level a rotating stage and align the system’s x-, y- and z-axis to vertical upward direction respectively.We rotate the stage and acquire the output data by the system, so that A can be determined by Eq.(11). The raw data can be corrected by Eq.(9) and Eq.(13).

Fig.3 Raw data and fitted ellipsoid

As shown in Fig.4, the ellipsoid where the thin gray broken lines lies in represents the ellipsoid fitted to the raw data. The thick gray line on the bottom half denotes the circle composed of the raw data in z-axis vertical upward rotation situation. The thin black solid lines depict the sphere fitted to the corrected data. And the thick black line on the sphere denotes the circle composed by the corrected data acquired in plane rotating.Note that the ellipsoid is clearly shifted and stretched in the z-axis and its maximum is clearly greater than the value of the earth’s magnetic field strength (524 nT). But the sphere is almost centered and its radius is approximately equal to the strength of the earth’s magnetic field.The plane where the thick gray line lies in is clearly not parallel to x-y plane, and is also not orthogonal to z-axis.However, the plane where the thick black line lies in is almost orthogonal to z-axis. Fig.4 shows that, after the calibration procedure, the positions, directions and magnitudes of the measurement vectors are all well corrected.

Finally, we post the TAM on the stage aligned to the global frame and make it rotate 1 circle with the same intervals of 45° and make a list about the heading information before and after the calibration, as shown in Tab.1.

Fig.4 Data before and after calibration

Tab.1 Heading information before and after calibration (°)

After calibration, the value of heading deviation range is reduced to 0.7° from 4.5°, as noted in the Tab.1.It demonstrates that the heading deviation by the proposed calibration procedure is decreased by approximately 6 times.

6 Conclusion

In summary, by analyzing the error source of TAM,we have established the error model and determined the relative calibration parameters. Moreover, a complete calibration procedure for TAMs is proposed and applied into an attitude reference system for calibrating the heading. The test result shows that the heading accuracy of the attitude reference system is significantly improved.The method has reference value for the application of TAMs in navigation system.

[1] Zhang Qi, Pang Hong-feng, Wan Cheng-biao. Magnetic interference compensation method for geomagnetic field vector measurement[J]. Measurement, 2016, 91: 628-633.

[2] Li Xiang, Li Zhi. A new calibration method for tri-axial field sensors in strap-down navigation systems[J]. Measurement Science and Technology, 2012, 23(10): 2852- 2855.

[3] Liu T, Inoue Y, Shibata K. A simplified magnetometer calibration method to improve the accuracy of threedimensional orientation measurement[J]. ICIC Express Letters, 2012, 6(2): 523-528.

[4] Fang Jian-cheng, Sun Hong-wei, Cao Juan-juan, et al. A novel calibration method of magnetic compass based on ellipsoid fitting[J]. IEEE Transactions on Instrumentation and Measurement, 2011, 60(6): 2053-2061.

[5] Yuan Guang-min, Yuan Wei-zheng, Qin Wei, et al. Research on magnetic heading error compensation technology under the strong magnetic interference[J]. Advances in Aeronautical Science and Engineering, 2012(2): 218-222.

[6] Bonnet S, Bassompierre C, Godin C, et al. Calibration methods for inertial and magnetic sensors[J]. Sensors and Actuators a-Physical, 2009, 156(2): 302-311.

[7] Olivares A, Ruiz-Garcia G, Olivares G, et al. Automatic determination of validity of input data used in ellipsoid fitting MARG calibration algorithms[J]. Sensors, 2013,13(9): 11797-11817.

[8] Zhang Qi, Li Ji, Chen Di-xiang, et al. Method and experiment for compensating the interferential magnetic field in underwater vehicle[J]. Measurement, 2014, 47(1): 651-657.

[9] Liu Guang-sheng, Guan Zhen-zhen. Research of interference field measurement and error compensation for geomagnetic navigation[J]. Applied Mechanics and Materials,2014, 602-605: 1586-1589.

[10] Foster C C, Elkaim G H. Extension of a two-step calibration methodology to include nonorthogonal sensor axes[J].IEEE Transactions on Aerospace and Electronic Systems,2008, 44(3): 1070-1078.

基于自適應(yīng)遺傳算法的三軸磁強(qiáng)計(jì)校準(zhǔn)

袁廣民1,苑偉政1,羅丹瑤1,趙 婧1,薛 亮2,李曉瑩1
(1. 西北工業(yè)大學(xué) 空天微納系統(tǒng)教育部重點(diǎn)實(shí)驗(yàn)室,西安 710072;2. 火箭軍工程大學(xué),西安 710025)

針對(duì)MEMS磁強(qiáng)計(jì)的精度無法滿足姿態(tài)測(cè)量系統(tǒng)的航向角測(cè)量要求,對(duì)磁強(qiáng)計(jì)的誤差來源進(jìn)行了模型化分析,設(shè)計(jì)了一種基于自適應(yīng)遺傳算法的空間橢球磁強(qiáng)計(jì)校準(zhǔn)方法。首先,采取自適應(yīng)遺傳算法,對(duì)磁強(qiáng)計(jì)測(cè)量的原始數(shù)據(jù)進(jìn)行空間橢球的擬合,用估計(jì)的參數(shù)進(jìn)行刻度系數(shù)、軟磁干擾、硬磁干擾與零位偏置的綜合誤差補(bǔ)償。其次,利用最小二乘法求解出非正交軸的方向余弦,進(jìn)行非正交誤差和安裝誤差的補(bǔ)償。最后,將該方法應(yīng)用到某姿態(tài)測(cè)量系統(tǒng)中,分別用未補(bǔ)償和補(bǔ)償后的數(shù)據(jù)進(jìn)行姿態(tài)測(cè)量實(shí)驗(yàn),實(shí)驗(yàn)結(jié)果表明該方法準(zhǔn)確計(jì)算出磁強(qiáng)計(jì)的誤差參數(shù),使補(bǔ)償后的航向角精度提高了6.8倍。

MEMS磁強(qiáng)計(jì);校準(zhǔn);橢球擬合;自適應(yīng)遺傳算法

U666.1

:A

1005-6734(2017)03-0382-05

(References):

2017-02-01;

:2017-05-20

航空基金(20160553004);111引智基地(B13044);國(guó)家自然科學(xué)基金(61503390);陜西省自然科學(xué)基金(2016JQ6014)

袁廣民(1977—),男,博士研究生在讀,副研究員。E-mail: yuangm@nwpu.edu.cn

聯(lián) 系 人:李曉瑩(1969—),女,副教授。E-mail: xiaoy@nwpu.edu.cn

10.13695/j.cnki.12-1222/o3.2017.03.019

猜你喜歡
測(cè)量
測(cè)量重量,測(cè)量長(zhǎng)度……
把握四個(gè)“三” 測(cè)量變簡(jiǎn)單
滑動(dòng)摩擦力的測(cè)量和計(jì)算
滑動(dòng)摩擦力的測(cè)量與計(jì)算
測(cè)量的樂趣
二十四節(jié)氣簡(jiǎn)易測(cè)量
日出日落的觀察與測(cè)量
滑動(dòng)摩擦力的測(cè)量與計(jì)算
測(cè)量
測(cè)量水的多少……
主站蜘蛛池模板: 在线a网站| 91精品国产自产91精品资源| 亚洲第一极品精品无码| 日本一区中文字幕最新在线| 国产剧情国内精品原创| 欧美无专区| m男亚洲一区中文字幕| 99久久婷婷国产综合精| 国产成人高清亚洲一区久久| 色视频久久| 日韩在线视频网| 国产女人综合久久精品视| 成人精品区| 99er这里只有精品| 亚洲精品天堂在线观看| 又大又硬又爽免费视频| 久久精品国产精品国产一区| 亚洲视频免费在线看| a级毛片视频免费观看| 久久99国产乱子伦精品免| 亚洲伊人电影| 欧美视频免费一区二区三区| 国产AV毛片| 高清无码手机在线观看| 亚洲一级色| 2020精品极品国产色在线观看| 成人无码区免费视频网站蜜臀| 欧美中文一区| 久久国产精品电影| 香蕉伊思人视频| 99视频在线精品免费观看6| 国产99精品视频| 国产精品亚洲天堂| 国产毛片高清一级国语| 国产91小视频| 欧美日韩北条麻妃一区二区| 亚洲国产精品久久久久秋霞影院| 一本大道香蕉久中文在线播放| 久草国产在线观看| 午夜免费小视频| 亚洲无码A视频在线| 91精品国产情侣高潮露脸| 青青操国产| 欧美日韩在线亚洲国产人| 激情乱人伦| 欧美一级在线看| 国产乱人乱偷精品视频a人人澡| 久久亚洲国产最新网站| 99视频精品在线观看| 国产在线精品99一区不卡| 无码在线激情片| 亚洲一本大道在线| 波多野结衣无码视频在线观看| 婷婷激情五月网| 国产综合色在线视频播放线视| 亚洲欧美不卡中文字幕| 伦伦影院精品一区| 一本色道久久88综合日韩精品| 大陆国产精品视频| 日韩色图区| 日韩国产一区二区三区无码| 伊人婷婷色香五月综合缴缴情| 国产精品人成在线播放| 亚洲欧美自拍中文| 国国产a国产片免费麻豆| 国产精品xxx| 国产91特黄特色A级毛片| 午夜老司机永久免费看片| 99视频有精品视频免费观看| 久草国产在线观看| 国产精品综合色区在线观看| 毛片在线区| 精品视频在线一区| 亚洲清纯自偷自拍另类专区| 最新亚洲人成网站在线观看| 中文无码毛片又爽又刺激| 精品视频在线观看你懂的一区| 亚洲第一在线播放| 国产自在线播放| 亚洲综合在线最大成人| 99视频在线看| 国产内射在线观看|