Performance Analysis of Adaptive Neuro Fuzzy Inference System Control for MEMS Navigation System

Characterized by small volume, low cost, and low power, MEMS inertial sensors are widely concerned and applied in navigation research, environmental monitoring, military, and so on. Notably in indoor and pedestrian navigation, its easily portable feature seems particularly indispensable and important. However, MEMS inertial sensor has inborn low precision and is impressionable and sometimes goes against accurate navigation or even becomes seriously unstablewhenworking for a period of time and the initial alignment and calibration are invalid. A thought of adaptive neuro fuzzy inference system (ANFIS) is relied on, and an assistive control modulated method is presented in this paper, which is newly designed to improve the inertial sensor performance by black box control and inference. The repeatability and long-time tendency of the MEMS sensors are tested and analyzed by ALLAN method. The parameters of ANFIS models are trained using reasonable fuzzy control strategy, with high-precision navigation system for reference as well as MEMS sensor property. The MEMS error nonlinearity is measured and modulated through the peculiarity of the fuzzy control convergence, to enhance the MEMS function and the whole MEMS system property. Performance of the proposed model has been experimentally verified using low-cost MEMS inertial sensors, and the MEMS output error is well compensated. The test results indicate that ANFIS system trained by high-precision navigation system can efficiently provide corrections to MEMS output and meet the requirement on navigation performance.


Introduction
Characterized by small volume, low cost, and low power, MEMS inertial sensors are widely concerned and applied to navigation research, environmental monitoring, military and so on.Notably in unmanned air systems, its easily portable feature seems particularly indispensable and important.
However, MEMS inertial sensor HAS inborn low precision, and impressionable.It sometimes goes against accurate navigation or even becomes seriously unstable when working for a period of time, and more worse the initial alignment and calibration are invalid.According to this, many scholars use the Kalman filter method to compensate and correct the MEMS error.By this way, the MEMS system performance can be improved, but its effect is not good, as discussed in [1,2].
A thought of adaptive neurofuzzy inference system (ANFIS) is relied on.Compared with fuzzy inference system and artificial neural network, as discussed in [3][4][5][6], adaptive neurofuzzy inference system (ANFIS) not only has advantages of the two methods but also makes up for their shortcomings.On one hand, it has effective self-learning mechanism and achieves self-learning function.On the other hand, it has a variety of neural networks, optimizes the control rules, and expresses the reasoning-function like human brain.It makes the system develop towards adaptive, selforganizing and self-learning, as discussed in [7][8][9][10][11].
As Integrated avionics system for vehicle is composed of different kinds of sensors to change the separated state, and achieve complementary, mutual backup and integrated usage information, where the system includes MEMS inertial measurement unit (MEMS-IMU) and high-precision IMU.According to this, ANFIS is newly designed to use reference IMU to improve MEMS-IMU performance by black box control and inference.The MEMS sensor error is measured and modulated through the peculiarity of the fuzzy control convergence, to enhance the MEMS function and the whole MEMS system property.Performance of the proposed model is experimentally verified using low-cost MEMS inertial sensors, to meet the requirement on navigation performance.

Analysis of MEMS-IMU Property
2.1.Error Modelling of MEMS Inertial Sensor.As to error of MEMS-IMU outputs, constant error, scale factor error and installation error, are considered as the main composition of the IMU error.What is more, random error is also inevitable and impacts the output accuracy.According to this, and ignoring more than one-order small amount, the accelerometer model is built as follows, as discussed by the author in [12]: Then, the accelerometer error model is In calibration, the random error   is mainly affected by temperature.So   may be expressed as Similarly, the gyroerror model is And, the   is expressed as where The coordinate transformation matrix from  to  is Then, the gyroerror is Through analysis item by item, In (9), it is indicated that such constant errors as ∇  , ∇  , and ∇  may be modulated by periodic rotation, and the error impact will be smaller.However, as to error coefficients   and   , the impact may be partly modulated.The -axis error caused by   and   in  coordinate is Set     +    −    as an example; if     +    −     can be expressed as  + (  ),  = 1, 2, 3, the error impact caused by  may be modulated to zero, where a is the inductive constant and (  ),  = 1, 2, 3 is the variable part.The accelerometer error is The error analysis and modulation are similar to those of gyros.
It is clearly shown from MEMS-IMU raw data in Table 1 that means and deviations of MEMS-IMU are bigger than those of normal situations.Through rotation modulation, mean data indicates that nonstochastic errors of MEMS-IMU are effectively and quickly improved when calculating navigation parameters.However, due to rotation movement by cosine function, the standard deviation is bigger than that of law data.
Moreover, the MEMS outputs are easily affected by environment.Generally, the temperature in use is −40 to 70 ∘ C, and the internal structure of MEMS device may change under different temperature conditions.In such situation, the measured capacitance output of the inertial sensor is deviated from the normal value, and the output of the inertial sensor is inevitably composed of real value and error.Figures 1 and 2 are separately curves of gyro-and accelerometer values changed with temperature.
As the MEMS performance is unstable, the calibration is not always effective due to its temperature impact.When there is 5 ∘ temperature rise, the output will be 10% changed according to the raw data at room temperature.

ANFIS Identification and Compensation Program for MEMS-IMU
3.1.ANFIS Structure.ANFIS is a class of adaptive networks, and it makes the integration of the advantages of neural network and fuzzy inference system.Detailed mathematical progress of ANFIS is as follows.Firstly, it maps the input data by adjusting the shape and parameters of the membership function.Secondly, it remaps the data from the input space to the output space by the membership function of the output variables.During this process, the least squares algorithm is used to adjust ANFIS conclusion parameters, and the gradient descent algorithm is used to adjust ANFIS premise parameters, where the channel for adjusting conclusion parameters is called forward channel and the channel for adjusting the premise parameters is called backward channel, as discussed in [13][14][15][16].
In ANFIS structure, as to two input parameters ,  and one output , together with first-order Sugeno fuzzy model, there are two if-then fuzzy rules as follows The equivalent ANFIS structure is as shown in Figure 3.
In the first layer, each knot is an adaptive knot with function.For example, where  is input of knot  and  is the relevant fuzzy language identification.In the second layer, each knot is a fixed knot identified by ∏.The output is the product of all input signals and represents the firing strength of a rule as In the third layer, the ratio of firing strength for rule  and the whole firing strength for all the rules is calculated, which means that the firing strength of each rule is normalized as In the fourth layer, each knot has its own consequent node and output.The th knot is an adaptive knot with function where   is normalized motive force transformed from layer 3 and 1, 1, 1 are parameters.The parameters in this layer are called conclusion parameters.
In the fifth layer, each knot is a fixed knot identified with ∑, and it calculates the output sum by all the signals When ANFIS is trained by reduplicative iteration, the pending characteristic parameters are adjusted dynamically to make sure the accuracy identified by ANFIS meets the requirement.The premise parameters and conclusion parameters are received, so that the ANFIS system is determined, as discussed in [17][18][19].If   (  ) ≤ th, the rule is updated into a new one, and M = () + 1. Random th ∈ (0.1, 0.5) is a preset threshold, it values   and provides reference for new cluster generated in ANFIS.If th is smaller, the number of clusters is larger, and the fuzzy system is more complicated.

ANFIS System
When M is updated, it means that new cluster is generated, and needs to rebuild fuzzy system.The selected cluster centre may be set a bigger weight coefficient.This progress is repeatedly taken with inputs data, until the ANFIS meets the accuracy requirements.
ANFIS's parameters include premise parameters and consequent parameters.They are updated based on gradient descent learning algorithm.When the premise parameters are fixed, the least squares algorithm is applied to calculate the consequent data.This is the whole progress of ANFIS(i) generation.In order to speed up the ANFIS progress and enhance the precision, all the data are separated into different parts for training and checking.The prior ANFIS structure is valued by the checking data and set as premise structure for next system generation, up to the expected modulated effect.The proposed ANFIS training process is shown as in Figure 4.

MEMS-IMU Error Compensation Based ANFIS.
In integrated avionics system for vehicle, synthesis of multiple sensors is a trend; different kinds of sensors may change the separated state and achieve complementary, mutual-backup and integrated usage information provided by each sensor.Through integrated control and management of multisensors, the sensor system may have higher performance level than that of any single sensor.
Generally, as a backup system, MEMS inertial navigation system has low performance by comparison.In order to improve it, high-precision INS output is applied to help correcting MEMS-IMU outputs by ANFIS method.Highprecision INS outputs are set as standard information and separated into different spaces together with MEMS-IMU outputs.The different data spaces are divided into training parts and checking parts.The 3D outputs of MEMS gyros and accelerometers are trained objects and inputs of ANFIS.ANFIS works in update mode; the structure is built, valued, and screened continuously, until the optimal structure meets accuracy demands.The ANFIS building program for MEMS-IMU is shown as in Figure 5.
When standard IMU outputs are lacked, ANFIS structure switches to the correction mode.The identified and trained error corrector by ANFIS is applied to modify the law MEMS-IMU output and help provide higher-precision MEMS-IMU outputs.

Experiment and Analysis
The MEMS-IMU used in this paper is MPU6050.The MEMS gyro drift is 4.25( ∘ /s), and random is 0.35( ∘ /s); MEMS accelerometer bias is 0.193 m/s/s, and random is 0.038 m/s/s.The output frequency of MEMS-IMU is 50 Hz.As to standard IMU, the gyro drift is 0.003( ∘ /s), and random is 0.003( ∘ /s); the accelerometer bias is 0.043 m/s/s, random is 0.017 m/s/s, and the output frequency is 50 Hz too.In order to testify the effectiveness of ANFIS modulation for MEMS-IMU performance under the auxiliary of highprecision standard IMU, both MEMS-IMU and standard IMU start simultaneously; then corresponding data is sent for training and testing.From Figures 6, 7, and 8, it is clear that MEMS-IMU data is modified, and the precision is highly improved.Tables 2 and 3 show the specific improved level of IMU data by drift and random quantity.Simultaneously, compared with random of each standard gyro, that of tested gyro in Table 2 also indicates that the tested data will be  modified towards the standard data, and not only that, but also stability and smoothness of the modified data will be better than those of standard data.Where, blue line with ring  represents modified MEMS-IMU data by ANFIS, red line represents MEMS-IMU data to be tested, and black line with star represents standard IMU data with high precision.To be sure, the effect of modified accelerometer data is not as good as that of gyro, just because the standard accelerometer precision is not so high, and the modified effect has nothing to do with ANFIS structure.In other words, the performance level of standard data may be one of the main influence factors to decide the performance level of the modified data.

Conclusions
MEMS-IMU is characterized by its small size, low cost, and easy integration, so it has a wild range of applications.
However, low precision is a stumbling block to MEMS sensor, and sometimes it cannot meet the performance requirements.Nowadays, integrated avionics system for vehicle composes different kinds of sensors to change the separated state and achieve complementary, mutual backup and integrated usage information provided by each sensor.So, high-accuracy IMU may be selected to modify MEMS-IMU performance by high-level outputs.
ANFIS system combines the advantages of neural network and fuzzy control methods, and it is suitable for controlling objects with characters of fuzziness, uncertainty, nonlinearity, and time varying.As to MEMS-IMU property, ANFIS reference program is improved, the reference structure is continuously built for good modification performance, and MEMS-IMU performance is corrected.The experimental results show that ANFIS structure is much closer to the accurate model by multiple establishments, and MEMS-IMU outputs are high-level corrected by rules.Simultaneously, the MEMS-IMU performance is of smoothness by ANFIS modulation.In a word, the updated ANFIS program proposed in this paper is helpful to modify and improve the MEMS-IMU property and is a great reference to enhance MEMS sensor performance.
Δ and Δ are IMU error; ∇ and ∇ are IMU constant drift;   and   are the scale factor error matrix;   and   are the alignment matrix; Δ is temperature variation;   ,   , and   are the gyroerror coefficients affected by temperature;   ,   , and   are the accelerometer error coefficients affected by temperature;   and   are the random error.  represents the real -axis of gyro-, and accelerometer;   is coincident with the -axis of  coordinate and vertical with   ,   .The effective IMU outputs are received from the real IMU outputs in the process of coordinate conversion.The rotating angle is

Table 1 :
Means and deviation of MEMS gyro-and accelerometer.
Training.As to inputs of ANFIS, the outputs of MEMS-IMU and standard IMU are segmented into different training data spaces.The initial structure of ANFIS is preset with 5 layers, and ANFIS uses the rule firing strength ( = 1, . . ., ()) as a criterion for each rule, where () is the number of clusters at .At time , the separate input training data is   ( = 1, . . ., ), and  is the numbers of inputs.

Table 2 :
Bias of IMU data.

Table 3 :
Random of IMU data.