An LQR-Based ANFIS Control for Double-Linked Inverted Pendulum on Cart
DOI:
https://doi.org/10.59247/jfsc.v3i2.307Keywords:
ANFIS Control, LQR Control, Intelligent Control, SIMO System, Double-Linked Inverted PendulumAbstract
This paper presents a double-linked inverted pendulum on a cart system, which is highly nonlinear and inherently unstable. In the simulation, the state variable outputs are processed through three ENCODER blocks with a resolution of 1000 pulses, as we aim to develop a mathematical model that closely approximates real-world experiments. The objective of this study is to use an ANFIS controller to learn from data that closely resembles the actual system behavior under an LQR controller and apply it in a simulation environment to evaluate the stability and response of the system under both ANFIS and LQR controllers. The results show that the ANFIS controller provides better responses than the LQR controller.
References
K. H. Lundberg, T. W. Barton, “History of Inverted-pendulum Systems,” IFAC Proceedings, vol. 42, no. 24, pp. 131-135, 2010, https://doi.org/10.3182/20091021-3-JP-2009.00025.
M. R. Dastranj, A. A. Khoshmardan, H. Ebrahimi, P. S. Rad, “Design optimal Fractional PID Controller for Inverted Pendulum with Genetic Algorithm,” Majlesi Journal of Mechatronic Systems, vol. 2, no. 2, pp. 1-5, 2013, https://ms.majlesi.info/index.php/ms/article/view/77.
K. Chakraborty, J. Mahato, R. R. Mukherjee, “Tuning of PID Controller of Inverted Pendulum Using Genetic Algorithm,” International Journal of Electronics & Communication Technology, vol. 4, no. 1, pp. 183-186, 2013, https://www.iject.org/vol4/spl1/c0059.pdf.
M. R. Dastranj, M. E. Khoshmardan, F. S. Sijani, Y. Ghezi, “Design of Optimal PID Controller Using Genetic Algorithm,” Australian Journal of Basic and Applied Sciences, vol. 5, no. 10, pp. 996-1001, 2011, https://www.ajbasweb.com/old/ajbas/2011/October-2011/996-1001.pdf.
J. Yi, N. Yubazaki, K. Hirota, “Stabilization control of series-type double inverted pendulum system using the SIRMs dynamically connected fuzzy inference model,” Artificial Intelligence in Engineering, vol. 15, no. 3, pp. 297-308, 2001, https://doi.org/10.1016/S0954-1810(01)00021-8.
S. K. Yadav, S. Sharma, N. Singh, “Optimal Control of Double Inverted Pendulum Using LQR Controller,” International Journal of Advanced Research in Computer Science and Software Engineering, vol. 2, no. 2, pp. 189-192, 2012, https://sigmaland.ir/wp-content/uploads/2022/06/Fardapaper-Optimal-Control-of-Double-Inverted-Pendulum-Using-LQR-Controller.pdf.
M. R. Nalavade, M. J. Bhagat, V. V. Patil, “Balancing Double Inverted Pendulum on A cart by Linearization Technique,” International Journal of Recent Technology and Engineering, vol. 3, no. 1, 2014, https://www.ijrte.org/wp-content/uploads/papers/v3i1/A1031033114.pdf.
M.-D. Tran et al, “Analysis of Linear and Intelligent Control for Balancing Pendubot System,” Journal of Fuzzy Systems and Control, vol. 3, no. 1, pp. 16-21, 2024, https://doi.org/10.59247/jfsc.v3i1.272.
I. Chawla, V. Chopra and A. Singla, "Robust LQR Based ANFIS Control of x-z Inverted Pendulum," 2019 Amity International Conference on Artificial Intelligence (AICAI), pp. 818-823, 2019, https://doi.org/10.1109/AICAI.2019.8701333.
J. J. Craig, “Introduction to Robotics Mechanics and Control,” 3rd edition-Pearson Education, 2005, https://www.changjiangcai.com/files/text-books/Introduction-to-Robotics-3rd-edition.pdf.
J. -S. R. Jang, "ANFIS: adaptive-network-based fuzzy inference system," IEEE Transactions on Systems, Man, and Cybernetics, vol. 23, no. 3, pp. 665-685, 1993, https://doi.org/10.1109/21.256541.
S. Qiang, Q. Zhou, X. Z. Gao and S. Yu, "ANFIS controller for double inverted pendulum," 2008 6th IEEE International Conference on Industrial Informatics, pp. 475-480, 2008, https://doi.org/10.1109/INDIN.2008.4618147.
V. Mohan and N. Singh, "Performance comparison of LQR and ANFIS controller for stabilizing double inverted pendulum system," 2013 IEEE International Conference on Signal Processing, Computing and Control (ISPCC), pp. 1-6, 2013, https://doi.org/10.1109/ISPCC.2013.6663452.
C.-H. Nguyen, “ANFIS-based LQR Control for Rotary Double Parallel Inverted Pendulum,” Journal of Fuzzy Systems and Control, vol. 2, no. 2, pp. 109-116, 2024, https://doi.org/10.59247/jfsc.v2i2.214.
Y. Singh, A. Kumar and R. Mitra, "Design of ANFIS controller based on fusion function for rotary inverted pendulum," 2012 International Conference on Advances in Power Conversion and Energy Technologies (APCET), pp. 1-5, 2012, https://doi.org/10.1109/APCET.2012.6302046.
N.-T.-S. Nguyen, “An Application of STM32F4-Embedded ANFIS-Fuzzy Controller for Tower Crane,” Journal of Fuzzy Systems and Control, vol. 2, no. 3, pp. 189-196, 2024, https://doi.org/10.59247/jfsc.v2i3.260.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Truong-Phuong-Nam Pham, Trong-Bang Tran, Van-Dong-Hai Nguyen, Tai-Tue Nguyen, Gia-Thinh Nguyen, Duy-Phat Nguyen, Dong-Khang Nguyen, Van-An Ha, The-Nam-Chau Trinh, Trung-Thang Nguyen

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.