Skip to main content
Log in

PSO Aided Adaptive Complementary Filter for Attitude Estimation

  • Published:
Journal of Intelligent & Robotic Systems Aims and scope Submit manuscript

An Author Correction to this article was published on 04 December 2017

This article has been updated

Abstract

Attitude estimation is one of the core frame- works used for navigating an unmanned aerial vehicle from one place to the other. This paper presents an Euler-based non-linear complementary filter (CF) whose gain parameters are obtained using particle swarm optimization (PSO) technique. It relieves the user from feeding the K P and K I parameters manually and adjust these parameters automatically when the error between the attitude measured from accelerometer and the CF increases above a particular threshold. The measurement unit for this research consists of micro-electro-mechanical-systems (MEMS) based low cost tri-axial rate gyros, accelerometers and magnetometers, without resorting to global positioning system (GPS) data. The efficiency of the CF is experimentally investigated with the help of reference attitude and the raw sensor data obtained from commercial inertial measurement unit (IMU). Simulation results based on the test data show that the proposed PSO aided non-linear complementary filter (PNCF) can automatically obtain the required gain parameters and exhibits promising performance for attitude estimation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Change history

  • 04 December 2017

    The original article, unfortunately, contained an error.

References

  1. Hummelink, B., de Wagter, C., Chu, Q., Mulder, J.: AHRS for Small Fixed-Wing UAV with Low-Cost IMU/GPS using Nonlinear Complementary Filtering Proceedings of AIAA Guidance, Navigation and Control Conference, number AIAA (2012)

  2. Kayton, M., Fried, W. R.: Avionics navigation systems. Wiley (1997)

  3. Farrell, J.: Aided navigation: GPS with high rate sensors. McGraw-Hill (2008)

  4. Aggarwal, P., Syed, Z., El-Sheimy, N.: MEMS-based integrated navigation. Artech House (2014)

  5. Titterton, D., Weston, J. L.: Strapdown inertial navigation technology, vol. 17. IET (2004)

  6. Brown, R. G., Hwang, P. Y.: Introduction to random signals and applied Kalman filtering: with MATLAB exercises and solutions, vol. 1. Introduction to random signals and applied Kalman filtering: with MATLAB exercises and solutions, by Brown, Robert Grover.; Hwang, Patrick YC, New York, Wiley, c1997 (1997)

  7. Tian, Y., Wei, H., Tan, J.: An adaptive-gain complementary filter for real-time human motion tracking with MARG sensors in free-living environments. IEEE Transactions on Neural Systems and Rehabilitation Engineering 21, 254–264 (2013)

    Article  Google Scholar 

  8. Poddar, S., Hussain, S., Ailneni, S., Kumar, V., Kumar, A., Budiyono, A., et al.: Tuning of GPS aided attitude estimation using evolutionary algorithms. International Journal of Intelligent Unmanned Systems 4(1), 23–42 (2016)

    Article  Google Scholar 

  9. Crassidis, J. L., Markley, F. L., Cheng, Y.: Survey of nonlinear attitude estimation methods. J. Guid. Control. Dyn. 30, 12–28 (2007)

    Article  Google Scholar 

  10. Poddar, S., Kottath, R., Kumar, R., Kumar, A.: Adaptive Sliding Kalman filter using Non-parametric change point detection. Measurement 82, 410–420 (2016)

    Article  Google Scholar 

  11. Kottath, R., Poddar, R., Das, R., Kumar, V.: Window based Multiple Model Adaptive Estimation for navigational framework. Aerospace Science Technology 50, 88–95 (2015)

    Article  Google Scholar 

  12. Won, S.-h. P., Melek, W. W., Golnaraghi, F.: A Kalman/ particle filter-based position and orientation estimation method using a position sensor/inertial measurement unit hybrid system. IEEE Trans. Ind. Electron. 57, 1787–1798 (2010)

    Article  Google Scholar 

  13. Fourati, H., Manamanni, N., Afilal, L., Handrich, Y.: Complementary observer for body segments motion capturing by inertial and magnetic sensors. IEEE/ASME Transactions on Mechatronics 19, 149–157 (2014)

    Article  Google Scholar 

  14. Jensen, K. J.: Generalized nonlinear complementary attitude filter. J. Guid. Control. Dyn. 34, 1588–1593 (2011)

    Article  Google Scholar 

  15. Higgins, W. T.: A comparison of complementary and Kalman filtering. IEEE Trans. Aerosp. Electron. Syst. 11, 321–325 (1975)

    Article  Google Scholar 

  16. Brown, R.: Integrated navigation systems and Kalman filtering: a perspective. Navigation 19, 355–362 (1972)

    Article  Google Scholar 

  17. Bachmann, E. R., Duman, I., Usta, U., Mcghee, R. B., Yun, X., Zyda, M.: Orientation tracking for humans and robots using inertial sensors Proceedings of the 1999 IEEE International Symposium on Computational Intelligence in Robotics and Automation, 1999. CIRA’99, pp 187–194 (1999)

    Google Scholar 

  18. Rehbinder, H., Hu, X.: Nonlinear state estimation for rigid-body motion with low-pass sensors. Syst. Control Lett. 40, 183–190 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  19. Pascoal, A., Kaminer, I., Oliveira, P.: Navigation system design using time-varying complementary filters. IEEE Trans. Aerosp. Electron. Syst. 36, 1099–1114 (2000)

    Article  Google Scholar 

  20. Saripalli, S., Roberts, J. M., Corke, P. I., Buskey, G., Sukhatme, G. S.: A tale of two helicopters Proceedings of the 2003 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2003.(IROS 2003), pp 805–810 (2003)

    Google Scholar 

  21. Hong, S. K.: Fuzzy logic based closed-loop strapdown attitude system for unmanned aerial vehicle (UAV). Sensors Actuators A Phys. 107, 109–118 (2003)

    Article  Google Scholar 

  22. Mahony, R., Hamel, T., Pflimlin, J.-M.: Complementary filter design on the special orthogonal group SO (2) 44th IEEE Conference on Decision and Control, 2005 and 2005 European Control Conference. CDC-ECC’05, pp 1477–1484 (2005)

    Google Scholar 

  23. Hamel, T., Mahony, R.: Attitude estimation on SO [3] based on direct inertial measurements Proceedings of the 2006 IEEE International Conference on Robotics and Automation, 2006. ICRA 2006, pp 2170–2175 (2006)

    Chapter  Google Scholar 

  24. Mahony, R., Hamel, T., Pflimlin, J.-M.: Nonlinear complementary filters on the special orthogonal group. IEEE Trans. Autom. Control 53, 1203–1218 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  25. Euston, M., Coote, P., Mahony, R., Kim, J., Hamel, T.: A complementary filter for attitude estimation of a fixed-wing UAV IEEE/RSJ International Conference on Intelligent Robots and Systems, 2008. IROS 2008, pp 340– 345 (2008)

    Chapter  Google Scholar 

  26. Kim, J. H., Min, H. G., Cho, J. D., Jang, J. H., Kwon, S.-H., Jeung, E. T.: Design of angular estimator of inertial sensor using the least square method. World Academy of Science, Engineering and Technology 60, 1541–1544 (2009)

    Google Scholar 

  27. Alves Neto, A., Macharet, D. G., Campos, V. C. d. S., Campos, M. F. M.: Adaptive complementary filtering algorithm for mobile robot localization. Journal of the Brazilian Computer Society 15, 19–31 (2009)

    Article  Google Scholar 

  28. Yoo, T. S., Hong, S. K., Yoon, H. M., Park, S.: Gain-scheduled complementary filter design for a MEMS based attitude and heading reference system. Sensors 11, 3816–3830 (2011)

    Article  Google Scholar 

  29. Shen, X., Yao, M., Jia, W., Yuan, D.: Adaptive complementary filter using fuzzy logic and simultaneous perturbation stochastic approximation algorithm. Measurement 45, 1257–1265 (2012)

    Article  Google Scholar 

  30. Benziane, L., Benallegue, A., Hadri, A.: A globally asymptotic attitude estimation using complementary filtering 2012 IEEE International Conference on Robotics and Biomimetics (ROBIO), pp 878–883 (2012)

    Chapter  Google Scholar 

  31. Batista, P., Silvestre, C., Oliveira, P.: Sensor-based globally asymptotically stable filters for attitude estimation: Analysis, design, and performance evaluation. IEEE Trans. Autom. Control 57, 2095–2100 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  32. Li, X., He, C., Wang, Y., Li, Z.: Generalized complementary filter for attitude estimation based on vector observations and cross products 2015 IEEE International Conference on Information and Automation, pp 1733–1737 (2015)

    Chapter  Google Scholar 

  33. Kopecki, G., Rogalski, T.: Aircraft attitude calculation with the use of aerodynamic flight data as correction signals. Aerosp. Sci. Technol. 32, 267–273 (2014)

    Article  Google Scholar 

  34. Ozyagcilar, T.: Implementing a tilt-compensated eCompass using accelerometer and magnetometer sensors, vol. 4248 (2012)

  35. Blachuta, M., Grygiel, R., Czyba, R., Szafranski, G.: Attitude and heading reference system based on 3D complementary filter 2014 19th International Conference On Methods and Models in Automation and Robotics (MMAR), pp 851–856 (2014)

    Chapter  Google Scholar 

  36. Pedley, M.: Tilt sensing using a three-axis accelerometer, Freescale Semiconductor Application Note, 1–22 (2013)

  37. Tseng, S. P., Li, W.-L., Sheng, C.-Y., Hsu, J.-W., Chen, C.-S.: Motion and attitude estimation using inertial measurements with complementary filter 2011 8th Asian Control Conference (ASCC), pp 863–868 (2011)

    Google Scholar 

  38. Benziane, L., Hadri, A. E., Seba, A., Benallegue, A., Chitour, Y.: Attitude estimation and control using linear-like complementary filters: Theory and experiment. arXiv preprint arXiv:1503.02718 (2015)

  39. Kenndy, J., Eberhart, R.: Particle swarm optimization Proceedings of IEEE International Conference on Neural Networks, pp 1942–1948 (1995)

    Chapter  Google Scholar 

  40. Xsens: (Accessed December 2015). Attitude Heading Reference System. Available: https://www.xsens.com/tags/ahrs/

  41. Lim, H., Park, J., Lee, D., Kim, H. J.: Build your own quadrotor: Open-source projects on unmanned aerial vehicles. IEEE Robot. Autom. Mag. 19, 33–45 (2012)

    Article  Google Scholar 

  42. Madgwick, S. O., Harrison, A. J., Vaidyanathan, R.: Estimation of IMU and MARG orientation using a gradient descent algorithm 2011 IEEE International Conference on Rehabilitation Robotics (ICORR), pp 1–7 (2011)

    Google Scholar 

  43. Madgwick, S.: (Accesses February 2016). Open source IMU and AHRS algorithms. Available: http://www.x-io.co.uk/open-source-imu-and-ahrs-algorithms/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shashi Poddar.

Additional information

A correction to this article is available online at https://doi.org/10.1007/s10846-017-0747-7.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Poddar, S., Narkhede, P., Kumar, V. et al. PSO Aided Adaptive Complementary Filter for Attitude Estimation. J Intell Robot Syst 87, 531–543 (2017). https://doi.org/10.1007/s10846-017-0507-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10846-017-0507-8

Keywords

Navigation