Research Article | Open Access

Lijun Song, Zhongxing Duan, Bo He, Zhe Li, "Application of Federal Kalman Filter with Neural Networks in the Velocity and Attitude Matching of Transfer Alignment", *Complexity*, vol. 2018, Article ID 3039061, 7 pages, 2018. https://doi.org/10.1155/2018/3039061

# Application of Federal Kalman Filter with Neural Networks in the Velocity and Attitude Matching of Transfer Alignment

**Academic Editor:**Junpei Zhong

#### Abstract

The centralized Kalman filter is always applied in the velocity and attitude matching of Transfer Alignment (TA). But the centralized Kalman has many disadvantages, such as large amount of calculation, poor real-time performance, and low reliability. In the paper, the federal Kalman filter (FKF) based on neural networks is used in the velocity and attitude matching of TA, the Kalman filter is adjusted by the neural networks in the two subfilters, the federal filter is used to fuse the information of the two subfilters, and the global suboptimal state estimation is obtained. The result of simulation shows that the federal Kalman filter based on neural networks is better in estimating the initial attitude misalignment angle of inertial navigation system (INS) when the system dynamic model and noise statistics characteristics of inertial navigation system are unclear, and the estimation error is smaller and the accuracy is higher.

#### 1. Introduction

Because there are too many vector dimensions in TA, the centralized Kalman filter has many disadvantages, such as large amount of calculation, poor real-time performance, and low reliability. In theory, the federal filtering is optimal or suboptimal, and it has the characteristics of high reliability, design flexibility, and being easy to apply to data fusion of navigation. In the engineering practice, system noise and measurement noise are always random signal, so it is difficult to get the statistic characteristics. The federal Kalman filter with neural networks is proposed in the paper. The federal Kalman filter is combined with the neural networks to improve the precision of initial attitude misalignment angle of inertial navigation system [1, 2].

#### 2. The Theory of Federal Kalman Filter with Neural Networks

##### 2.1. The Traditional Kalman Filter

It is assumed that the system equation and measurement equation of linear discrete system can be written as follows:where is estimated state, is the measurement of system, and is transfer matrix from to . is noise sequence of system incentive. is the measurement matrix, is noise sequence of measurement, and .

So the Kalman filter equation is shown as follows.(1)Time update is(2)Measurement update is

The state estimate could be calculated when the initial values and are known.

##### 2.2. The Federal Filter

The federal filter is composed of several subfilters and a main filter, where the subfilter can independently update the time and measurement, and the result will be sent to the main filter. And the main filter will feed back to the subfilter after data fusion is analyzed. It is the initial value of the next cycle. The federal filter is that the large matrix of centralized filter algorithm is divided into the subfilters [3, 4]. The structure of the federal filter is shown in Figure 1.

The fusion algorithm of the traditional federal filter is as follows: where is global state estimation after fusion, is the local optimum estimation of subfilter on the system of public state, is variance matrix of error of the local optimum estimation, and the local estimations are not related to each other.

##### 2.3. The BP Neural Networks

The uptime of Kalman filter is proportional to the cubic of the system order. The Kalman filter will lose the real-time performance when the order of system is very high, so the precision is not improved by the order of system.

Artificial neural network is a system that simulates the structure and function of human brain neuron networks by method of engineering technology. It is comprised of a large number of simple nonlinear processing units, and there are complex and flexible connections between units.

The neural networks have a strong self-learning ability and arbitrary nonlinear functions and parallel processing could be realized. So the neural networks are always applied in the information technology and control engineering. According to the characteristics of information transmission, neural networks can be divided into feedforward and feedback. The BP neural networks are feedforward networks which are based on error backpropagation algorithm [5–7].

There are input layer nodes, one or more hidden-layer nodes, and output layer nodes in the BP neural networks. If the number of hidden-layers and nodes in each layer are determined, the structure of the BP neural networks is determined [8–10]. The principle of BP neural networks is shown as Figure 2.

##### 2.4. The Federal Kalman Filter with Neural Networks

###### 2.4.1. The Theory of Federal Kalman Filter

The theory of federal Kalman filters in TA is as follows:(1)The output date of master inertial navigation system (MINS) is used as the common reference system, the velocity and angularity of slaver inertial navigation system (SINS) regarded as independent subsystems. In order to solve the problem, the BP neural networks are used in the two subsystems while the statistics characteristics of the system dynamic model and noise model are unclear.(2)The output date of two subsystems used the federal filter to obtain global suboptimal estimation.

###### 2.4.2. The Theory of Kalman Filter with Neural Networks

The purpose of the subfilter which used the BP neural networks is that the Kalman filter is followed by the BP neural networks with the minimum error.

The training process of neural networks is as follows: first, the Kalman filter worked as open loop state to eliminate the influence of convergence rate for initial value. Second, the Kalman filter worked as closed loop state, and the initial sample values of the neural network are constituted by the input and output of the Kalman filter. Lastly, the sample value of training could be got by averaging the testing values of measurements. After the training, The BP neural networks will be worked alone when the Kalman filter is removed [11–13].

The inputs of BP neural networks are comprised of three parts: ① the difference of state prediction and state estimation is . ② The difference of observation and observation estimation is . ③ The filter gain is . is treated as the desired output of BP neural networks, where is the theoretical value of state vector. is the output of BP neural networks and is the output of Kalman filter, where the two outputs are added together after the BP neural networks are trained by samples.

The principle of Kalman filters with neural networks is shown as Figure 3.

#### 3. The Velocity and Attitude Matching in TA

The velocity matching in TA is required to assist maneuver (such as right circle), and attitude matching in TA is required angular velocity of pitch or roll (such as wing maneuver), but it is not separated from the head platform misalignment angle in the velocity matching and the same in the attitude matching when the plane has the wing maneuver [13, 14].

In the velocity and attitude matching, horizontal alignment is realized in the velocity and azimuth alignment is realized in attitude matching. The wing maneuver is required during the alignment procedure.

##### 3.1. State Equation of the Velocity and Attitude Matching

It is supposed that is the system state equation of the velocity and attitude matching, where is the platform misalignment angle of slaver inertial navigation system, is velocity error of slaver inertial navigation system, is error of missile body’s installation angle, is accelerometer’s constant error of slaver inertial navigation system, is flexure deformation angle of wing, and is flexure deformation angular rate of wing. State equation of the velocity and attitude matching is

So the state-space model of the velocity and attitude matching iswhere is the attitude matrix of slaver inertial navigation system:where is Gaussian white noise of gyro, is Gaussian white noise of accelerometer, is Gaussian white noise sequence of second order, in which *, *, and is the variance of flexure deformation angle; and .

##### 3.2. The Measurement Equation of Velocity and Attitude Matching

It is supposed that is the velocity of MINS, is the velocity of SINS, is the lever velocity from MINS, is the attitude matrix of MINS, is the attitude matrix of SINS, and is transformation matrix between and , where is installation coordinate and is horizontal coordinate.

The difference of velocity between MINS and SINS is the measurement in the velocity matching; attitude matrix is the measurement in the attitude matching. The measurement of the velocity and attitude matching is as follows.

Consider

is the attitude error angle of master inertial navigation system, and is the attitude error angle of slaver inertial navigation system.

The measurement equation of velocity and attitude matching iswhere the white noise of zero mean Gaussian is , and the measurement noise signal of unknown is .

#### 4. Application of Federal Kalman Filter with Neural Networks in the Velocity and Attitude Matching

##### 4.1. The Structure Design of Federal Kalman Filter with Neural Networks

The centralized Kalman filter is applied in the velocity and attitude matching of TA. It is superior to the velocity matching or the attitude matching, especially in the speed of alignment and the requirement of maneuver, but there are too many numbers of dimensions and large amount of calculation. Combined with the neural networks, the performance of federal Kalman filter is improved on the velocity and attitude matching when the statistics characteristics of the system dynamic model and noise model are unclear [15, 16].

The parallel computation is supported by the federal Kalman filter with neural networks to reduce the calculation in TA, and the neural networks are used in the subfilter. The principle diagram of the federal Kalman filter with neural networks on the velocity and attitude matching is shown as Figure 4.

##### 4.2. The Simulation of Federal Kalman Filter with Neural Networks in the Velocity and Attitude Matching

It is supposed that there are the flexure deformation of the wing and the unknown measurement noise signal when the federal Kalman filters with neural networks are simulated in the velocity and attitude matching.

According to the fight characteristic, this paper makes the corresponding numerical simulation under wing motion by aircraft. The time of shake wing is 60 s and the angle of shake wing is . The initial position of TA is that north latitude is , east longitude is , and altitude is 448 m; the initial attitude of TA is that yaw is , roll is 0°, and pitch is 0°.

The condition for simulation is as follows: error parameters of SINS: constant drift of gyro is , random walk of gyro is , constant offset error of accelerometer is , and standard deviation of accelerometer is . Installing-error angle of missile body: . Misalignment initial angle of SINS: . Velocity initial error of SINS: .

The number of input layer nodes of BP neural networks is 6, the number of hidden-layer nodes of BP neural networks is 12, and the number of output layer nodes of BP neural networks is 3.

The simulation period is 20 ms. Meanwhile, it has the same conditions as Kalman filter. The blue solid line is the result of the federal Kalman filter with neural networks, and the red dashed line is the result of Kalman filter.

It is the main difference between the federal Kalman filter with neural networks and the Kalman filter that the Kalman filters with neural networks are used in the velocity matching and the attitude matching, and the result is got by the Kalman filter with neural networks in the velocity matching and the attitude matching. In order to get the optimal estimation of navigation parameter error, the result is sent to the main filter for data fusion.

From Figure 5, it is showed that the convergence of misalignment angle of the Kalman filter has been in 10′ after 20 s. But the convergence of misalignment angle of the federal Kalman filter with neural networks has been in 5′ after 20 s. The precision of federal Kalman filter with neural networks is above the precision of Kalman filter.

#### 5. Summary

The input of the networks is the error parameters of Kalman filter. After the sample training, the BP networks output is added to the results of Kalman filter. In the practical engineering applications, this algorithm is superior to the Kalman filter under the nonlinear situation, and the result of simulation shows that the federal Kalman filter with neural networks in the velocity and attitude matching is more practicable and effective. The federal Kalman filter with neural networks is better to estimate the initial attitude misalignment angle of inertial navigation system when the system dynamic model and noise statistics characteristics of inertial navigation system are unclear, and the estimation error is smaller and the accuracy is higher.

#### Conflicts of Interest

The authors declare that they do not have any commercial or associative interest that represents conflicts of interest in connection with the work submitted.

#### Acknowledgments

This work is partially supported by the special scientific research project of the Education Department of Shaanxi Provincial Government, School Foundation Research Fund, Natural Science Foundation of Shaanxi Provincial Department and the National Natural Science Foundation of China, the project Number: 15JK1416, JC1702, 2016JM6084 and 51678470.

#### References

- X.-J. Guan and X.-L. Wang, “Transfer alignment match methods for strapdown inertial navigation system on moving bases,”
*Aero Weapons*, vol. 4, no. 2, pp. 3–8, 2014. View at: Google Scholar - G.-l. Yang, L.-f. Wang, E.-k. Yuan, L. Cai, and L.-w. Qiao, “Rapid transfer alignment for carrier - based aircrafts in catapult,” in
*Ship Science and Technolog*, vol. 36, pp. 50–54, 3 edition, 2014. View at: Google Scholar - L. Zhang, S. Qian, S. Zhang, and H. Cai, “Federated nonlinear predictive filtering for the gyroless attitude determination system,”
*Advances in Space Research*, vol. 58, no. 9, pp. 1671–1681, 2016. View at: Publisher Site | Google Scholar - Q. Y. yuan and N. I. Huifang, “Application of federated filtering theory to designing integrated navigation system,”
*Journal of Chinese Inertial Technology*, vol. 5, no. 3, pp. 1–5, 1997. View at: Google Scholar - C. Yang, Y. Jiang, Z. Li, W. He, and C.-Y. Su, “Neural control of bimanual robots with guaranteed global stability and motion precision,”
*IEEE Transactions on Industrial Informatics*, 2017. View at: Publisher Site | Google Scholar - L. Dan, “Improved BP neural network WSN data fusion scheme,”
*Information Technology*, vol. 37, no. 2, pp. 155–160, 2017. View at: Google Scholar - C. Yang, J. Luo, Y. Pan, Z. Liu, and C. Y. Su, “Personalized variable gain control with tremor attenuation for robot teleoperation,”
*IEEE Transactions on Systems, Man, and Cybernetics: Systems*, pp. 1–12, 2017. View at: Publisher Site | Google Scholar - M. Yongjun, X. Yonghao, L. Yang, and L. Yajun, “Data aggregation algorithm based on the model of deep learning,”
*Journal of Tianjin University of Science Technology*, vol. 32, no. 4, pp. 1–5, 2017. View at: Google Scholar - C. Yang, K. Huang, H. Cheng, Y. Li, and C.-Y. Su, “Haptic identification by ELM-controlled uncertain manipulator,”
*IEEE Transactions on Systems, Man, and Cybernetics: Systems*, vol. 47, no. 8, pp. 2398–2409, 2017. View at: Publisher Site | Google Scholar - T. Zengshan and C. Yongquan, “Attitude measurement fusion algorithm in GPS/SINS based on BP neural-network,”
*Journal of Chongqing University of Posts and Telecommunications*, vol. 26, no. 4, pp. 478–482, 2014. View at: Google Scholar - X. Tianlai and M. Xu, “INS/GPS integrated navigation method based on elman neural network,” in
*Proceedings of the International Conference on Fuzzy Systems and Neural Computing*, pp. 310–313, 2011. View at: Google Scholar - B. Feng, H. Ma, M. Fu, and C. Yang, “Real-time state estimator without noise covariance matrices knowledge-fast minimum norm filtering algorithm,”
*IET Control Theory & Applications*, vol. 9, no. 9, pp. 1422–1432, 2015. View at: Publisher Site | Google Scholar - G.-M. Yan, J. Weng, P.-X. Yang, and Y.-y. Qin, “Study on SINS rapid gyrocompass initial alignment,”
*International Symposium on Inertial Technology and Navigation*, pp. 323–330, 2010. View at: Google Scholar - K. Kim, S. Seol, and S.-H. Kong, “High-speed train navigation system based on multi-sensor data fusion and map matching algorithm,”
*International Journal of Control, Automation, and Systems*, vol. 13, no. 3, pp. 503–512, 2015. View at: Publisher Site | Google Scholar - C. Yang, X. Wang, Z. Li, Y. Li, and C. Su, “Teleoperation control based on combination of wave variable and neural networks,”
*IEEE Transactions on Systems, Man, and Cybernetics: Systems*, vol. 47, no. 8, pp. 2125–2136, 2017. View at: Publisher Site | Google Scholar - L. Bin,
*The research and design of transfer alignment simulation and verification system on ship carried weapon inertial navigation system*, Harbin Engineering University, Harbin, China, 2012.

#### Copyright

Copyright © 2018 Lijun Song et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.