Abstract
Two wheeled inverted pendulum (TWIP) resembles many industrial as well as real life applications. TWIP is underactuated, nonlinear and unstable system. Therefore, it is widely used as benchmark for illustrating control concepts, theories, and algorithms that deal with these challenges. The main motivations of this paper are designing controllers that deal with lack of information that accompanying an inexpensive cheap TWIP and verified its stability, proper speed, robustness and smooth tracking. Consequently, intelligent technique instead of conventional ones that depends on mathematical models should be used. In this article hybrid controllers, consisting of fuzzy controllers and three mode controllers’ (PID), are developed. Two major techniques are used, Mamdani-Like Fuzzy and Fusion-Based function, to design five controllers. Moreover, dynamic indices and steady state indices are implemented to choose the most proper controllers among various designed ones. A new criterion is defined to measure steady state performance of oscillation. All controllers were tested in real-time to control the angle of the TWIP for stability and disturbance rejection. The experimental results showed that both strategies of Mamdani-Like Fuzzy and Fusion-Based fuzzy can control and balance adequately the TWIP, but the PD-Like fuzzy yielded more better performance.
Similar content being viewed by others
References
Abut T, Soyguder S (2019) Real-time control and application with self-tuning PID-type fuzzy adaptive controller of an inverted pendulum. Ind Robot Int J Robot Res Appl 46:159–170
Akmal M, Jamin N, Ghani NA (2017) Fuzzy logic controller for two wheeled EV3 LEGO robot. In: IEEE conference on systems, process and control (ICSPC), pp 134–139
Arani MS, Ebrahimi Orimi H, Xie WF, Hong H (2019) Sliding mode control design of a two-wheel inverted pendulum robot: simulation, design and experiments. Cham, pp 93–107
Balanbot Studio M (2014) Arduino UNO based self-balancing robot. https://makerstudio.cc/index.php?main_page=product_info&products_id=347
Chen L, Wang H, Huang Y, Ping Z, Yu M, Zheng X et al (2020) Robust hierarchical sliding mode control of a two-wheeled self-balancing vehicle using perturbation estimation. Mech Syst Signal Process 139:106584
Chiu CH, Chang CC (2012) Design and development of Mamdani-like fuzzy control algorithm for a wheeled human-conveyance vehicle control. IEEE Trans Industr Electron 59(12):4774–4783
Choi BJ, Wak KSW, Kim BK (2000) Design and stability analysis of single-input fuzzy logic controller. IEEE Trans Syst Man Cybern Part B (Cybernetics) 30(2):303–309
Evans AK, Jones A, Preece A, Quevedo F, Rogers D, Spasić I et al (2015) Dynamically reconfigurable workflows for time-critical applications. In: Presented at the proceedings of the 10th workshop on workflows in support of large-scale science, Austin, Texas
Gao Y, Er MJ, Yang S (2001) Adaptive control of robot manipulators using Fuzzy neural network. IEEE Trans Ind Electron 48(6):1274–1278
Gong Y, Wu X, Ma H (2015) Research on control strategy of two-wheeled self-balancing robot. In: International conference on computer science and mechanical automation (CSMA), pp 281–284
Goher KM, Fadlallah SO (2017) Bacterial foraging-optimized PID control of a two-wheeled machine with a two-directional handling mechanism. Robot Biomimet 4:1
Han Y, Liu Y(2010) Reduced-dimensional fuzzy controller design based on fusion function and application in double inverted pendulum. In: The 2nd international conference on industrial mechatronics and automation, pp 337–340
Hao Q, Li P, Chang YZ, Yang F (2011) The fuzzy controller designing of the self-balancing robot. In: Proceedings of international conference on electronics and optoelectronics, pp V3-16–V3-19
Huang C-H, Wang W-J, Chiu C-H (2011) Design and implementation of fuzzy control on a two-wheel inverted pendulum. IEEE Trans Industr Electron 58(7):2988–3001
Huang J, Ri M, Wu D, Ri S (2018) type-2 fuzzy logic modeling and control of a mobile two-wheeled inverted pendulum. IEEE Trans Fuzzy Syst 26(4):2030–2038
Jamin F, Ghani NMA, Ibrahim Z, Marsom MF, Razali NAA (2018) Stabilization of two-wheeled wheelchair with movable payload based on type-2 fuzzy logic controller. In: Proceeding of the 10th national technical seminar on underwater system technology, pp 137–149
Huang J, Zhang M, Ri S, Xiong C, Li Z, Kang Y (2020) High-order disturbance-observer-based sliding mode control for mobile wheeled inverted pendulum systems. IEEE Trans Ind Electron 67:2030–2041
Junfeng W, Yuxin L, Zhe W (2011) A robust control method of two-wheeled self-balancing robot. In: Proceeding of 6th international forum on strategic technology, pp 1031–1035
Kang Y, She J, Xu W, Li Q, Jin H (2018) Drsign of three-ring testing cascade PID controller of full-auto two-wheel balancing vechile. In: IEEE international conference on mechanical and automation (ICMA), pp 364–369
Liu XH, Chen XH, Zheng XH, Li SP, Wang ZB (2014) Development of a GA-fuzzy-immune pid controller with incomplete derivation for robot dexterous hand. Sci World J 2014:564137
Liu T, Wang X, Zhou H, Che X, Liu H, Wang Q (2018) Design and control of a two-wheeled self-balancing robot made in 3D printing. In: Chinese automaton congress (CAC), pp 1211–1216
Lhee CG, Jae-Sam P, Hyun-Sik A, Do-Hyun K (2001) Sliding mode-like fuzzy logic control with self-tuning the dead zone parameters. IEEE Trans Fuzzy Syst 9:343–348
Mai TA, Anisimov DN, Dang TS, Dinh VN (2018) Development of a microcontroller-based adaptive fuzzy controller for a two-wheeled self-balancing robot. Microsyst Technol 24:3677–3687
Moness M, Moustafa A (2020) Hybrid modelling and predictive control of utility-scale variable-speed variable-pitch wind turbines. Trans Inst Meas Control
Moness M, Moustafa A (2019) Real-time switched model predictive control for a cyber-physical wind turbine emulator. IEEE Trans Ind Inf 16(6):3807–3817
Nabil H, Abd-Elaziz D M (2018) Pattern search for closed-loop parameter estimation of two wheel inverted pendulum system. In: 14th international computer engineering conference (ICENCO), pp 113–118
Nakpong N, Yamamoto S (2012) Just-in-time predictive control for a two-wheeled robot. In: 10th international conference on ICT and knowledge engineering, pp 95–98
Nasir ANK, Ahmad MA, Ghazali R, Pakheri NS (2011) Performance comparison between fuzzy logic controller (FLC) and PID controller for a highly nonlinear two-wheels balancing robot. In: First international conference on informatics and computational intelligence, pp 176–181
Nise NS (2019) Control systems engineering, 8th edn. Wiley, Hoboken
Nguyen Gia Minh T, Duong Hoai N, Nguyen Huu P (2010), A PID backstepping controller for two-wheeled self-balancing robot. In: International forum on strategic technology, pp 76–81
Odry Á, Fullér R (2018) Comparison of optimized PID and fuzzy control strategies on a mobile pendulum robot. In: IEEE 12th international symposium on applied computational intelligence and informatics (SACI), pp 000207–000212
Omatu S, Ide T (1994) Stabilization of inverted pendulum by neuro-control. In: Proceedings of 1994 IEEE international conference on neural networks (ICNN'94), pp 2367–2372
Osuský J, Cigánek J (2018) Trajectory tracking robust control for two wheels robot. Cybern Inf 1:1–4
Peng K, Ruan X, Zuo G (2012) Dynamic model and balancing control for two-wheeled self-balancing mobile robot on the slopes. In: Proceedings of the 10th world congress on intelligent control and automation, pp 3681–3685
Qingcheng W, Jian F (2014) Fuzzy immune PD algorithm applied in the self-balancing two-wheeled robot. In: 8th international conference on future generation communication and networking, pp 112–115
Sadeghian R, Masoule MT (2016) An experimental study on the PID and fuzzy-PID controllers on a designed two-wheeled self-balancing autonomous robot. In: 4th international conference on control, instrumentation, and automation (ICCIA), pp 313–318
Sayidmarie OK, Tokhi MO, Almeshal AM, Agouri SA (2012) Design and real-time implementation of a fuzzy logic control system for a two-wheeled robot. In: 17th international conference on methods and models in automation and robotics (MMAR), pp 569–572
Sayidmarie OK (2016) Design and real-time control of a new structure two-wheeled robot. PhD Thesis, University of Sheffield UK
Seul J, Song DH (2004) Neural network compensation technique for standard PD-like fuzzy controlled nonlinear systems. In: 43rd IEEE conference on decision and control (CDC) (IEEE Cat. No.04CH37601), vol 1, pp 698–703
Wang J, Huang C, Hung J (2017) Intelligent algorithm design by using fuzzy inference on two-wheeled self-balancing vehicle. In: International conference on applied system innovation (ICASI), pp 1825–1828
Wasif A, Raza D, Rasheed W, Farooq Z, Ali S Q (2013) Design and implementation of a two wheel self balancing robot with a two level adaptive control. In: 8th international conference on digital information management (ICDIM), pp 187–193
Wu X, Jin P, Zou T, Qi Z, Xiao H, Lou P (2019) Backstepping trajectory tracking based on fuzzy sliding mode control for differential mobile robots. J Intell Rob Syst 96(1):109–121
Wu J, Zhang W (2011) Design of fuzzy logic controller for two-wheeled self-balancing robot. In: Proceedings of 2011 6th international forum on strategic technology, pp 1266–1270
Xu C, Li M, Pan F (2011) The system design and LQR control of a two-wheels self-balancing mobile robot. In: International conference on electrical and control engineering, pp 2786–2789
Xu J-X, Guo Z-Q, Lee TH (2013) Design and implementation of a Takagi–Sugeno-type fuzzy logic controller on a two-wheeled mobile robot. IEEE Trans Ind Electron 60(12):5717–5728
Ye K, Lim L-H (2016) Every matrix is a product of Toeplitz matrices. Found Comput Math 16:577–598
Yong Q, Yanlong L, Xizhe Z, Ji L (2011) Balance control of two-wheeled self-balancing mobile robot based on TS fuzzy model. In: Proceedings of 6th international forum on strategic technology, pp 406–409
Yue M, Wang S, Sun J-Z (2016) Simultaneous balancing and trajectory tracking control for two-wheeled inverted pendulum vehicles: a composite control approach. Neurocomputing 191:44–54
Yu G, Leu Y, Huang H (2017) PSO-based fuzzy control of a self-balancing two-wheeled robot. In: Joint 17th world congress of international fuzzy systems association and 9th international conference on soft computing and intelligent systems (IFSA-SCIS), pp 1–5
Zhang S, Zhang Z, Jin K, Yang C (2012) Fuzzy control of double inverted pendulum by using state varieties fusion function. In: 24th chinese control and decision conference (CCDC), pp 2696–2699
Zavala SR (2020) Morante XXXI international summer meeting on power and industrial applications (RVP-AI), pp 81–85
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Moness, M., Mahmoud, D. & Hussein, A. Real-time Mamdani-like fuzzy and fusion-based fuzzy controllers for balancing two-wheeled inverted pendulum. J Ambient Intell Human Comput 13, 3577–3593 (2022). https://doi.org/10.1007/s12652-020-01991-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12652-020-01991-3