Open Access Open Access  Restricted Access Subscription or Fee Access

Modeling and Control of Ball and Beam Problem with Controllers’ Performance Comparison

(*) Corresponding author

Authors' affiliations



Since nonlinear systems are difficult to analyze but play a critical role in control theory, the construction of an appropriate controller is essential. A robust controller should be capable of dealing with abruwpt changes, uncertainty, disturbances, and other nonlinearities in the system. An accurate control system for nonlinear and unstable ball and beam system is essential, moreover it presents a significant challenge to be controlled by engineers and researchers. The ball and beam problem can be solved by using a controller that would monitor the ball position in the system. The ball and beam system is a very popular system due to its semplicity to be understood and the control techniques that can be studied over it. The system has been built in many ways before some easier and some more effective ones. This system in an open-loop setting is inseparably nonlinear and unstable but with the appropriate steps it can stabilize its response. Physical laws are used to conduct the ball and beam system theoretical analysis. System mathematical modeling is presented clearly and simulations together with their analysis will be done by using MATLAB software. It will be necessary to use mathematical modeling, which will include linearization of the model. The performance of each controller will be evaluated and compared. Two different controllers are used in this work.
Copyright © 2022 Praise Worthy Prize - All rights reserved.


Ball; Beam; Controller; Linear PID; Nonlinear PID; Disturbance; Potential Energy; Kinetic Energy; Lagrangian

Full Text:



Wellstead P., Ball and Beam 1: Basics, Control-Systems-Principles",, 2008.

Senthilkumar S., Suresh P., Senthilkumar S., Performance Analysis of Mimo Ball and Beam System Using Intelligent Controller, In International Conference & Workshop on Recent Trends in Technology 2012.

Mr. Hrishikesh R., Dr. Prof. Mrs. N. R. Kulkarni., Mathematical Modeling, Simulation and Control of Ball and Beam System, International Journal of Engineering Research & Technology (IJERT) Vol. 4 Issue 03, March-2015.

Nguyen CX, Phan HN, Lukianov AD, Pham TD, Nguyen TT, Nguyen HT. Design of an embedded control system based on the quasi-time optimal control law when limiting the control signal for the ball and beam system. In AIP Conference Proceedings 2019 Dec 17 (Vol. 2188, No. 1, p. 030007). AIP Publishing LLC.

Mustafa Saad, Mohammad Khalallah, Design and Implementation of an Embedded Ball-beam Controller Using PID Algorithm. Universal Journal of Control and Automation 5(4): 63-70, 2017.

A. Taifour Ali, Ahmed A. M., Almahdi H. A., Osama A. Taha, A. Naseraldeen A. Design and Implementation of Ball and Beam System Using PID Controller. Automatic Control and Information Sciences, 2017, Vol. 3, No. 1, 1-4 Available online at ©Science and Education Publishing.

Mahmoodian Hamid, Lotfizadeh Dehkordi Elaheh. Designing a Fuzzy Type-2 Model-based Robust Controller for Ball and Beam System. Procedia Computer Science Volume 105, 2017, Pages 125-130.

Nguyen Xuan Chiem, Hai Nguyen Phan. Design controler of the quasitime optimization approach for stabilizing and trajectory tracking of inverted pendulum. MATEC Web of Conferences Volume 226, 2018 XIV International Scientific-Technical Conference "Dynamic of Technical Systems" (DTS-2018).

Hai N. Phan, Chiem X. Nguyen. Building embedded quasi-time-optimal controller for two-wheeled selfbalancing robot. MATEC Web Conf.Volume 132, 2017 XIII International Scientific-Technical Conference "Dynamic of Technical Systems" (DTS-2017).

Nguyen X.C. Phan N.H. Hoang D.L. Truong D.K. Kien L. M, Thuy X.P. Building quasi-time-optimal control laws for ball and beam system. 2019 3rd International Conference on Recent Advances in Signal Processing, Telecommunications & Computing (SigTelCom).

Chiem Nguyen, Hai Phan, and Hung Nguyen, An energy saving method of stable control of inverted pendulum system when affected by external interference using auxiliary pendulum. E3S Web of Conferences 104, 01015 (2019).

Kagami RM, da Costa GK, Uhlmann TS, Mendes LA, Freire RZ. A generic WebLab control tuning experience using the ball and beam process and multiobjective optimization approach. Information. 2020 Mar;11(3):132.

Ali, T.; Adeel, M.; Malik, S.A.; Amir, M. Stability Control of Ball and Beam System Using Heuristic Computation Based PI-D and PI-PD Controller. Tech. J. Univ. Eng. Technol. 2019, 24, 21-29.

Osinski, C.; La, A.; Silveira, R. Control of Ball and Beam System Using Fuzzy PID Controller. In Proceedings of the 2018 13th IEEE International Conference on Industry Applications (INDUSCON), São Paulo, Brazil, 12-14 November 2018; IEEE: New York, NY, USA; pp. 875-880.

Shah, M.; Ali, R.; Malik, F.M. Control of Ball and Beam with LQR Control Scheme using Flatness Based Approach. In Proceedings of the 2018 International Conference on Computing, Electronic and Electrical Engineering (ICE Cube), Quetta, Pakistan, 12-13 November 2018; IEEE: New York, NY, USA; pp. 1-5.

Srivastava V, Srivastava S, Chaudhary G, Guzmán-Guzmán X, García-Díaz V. On Comparing the Performance of Swarm-Based Algorithms with Human-Based Algorithm for Nonlinear Systems. Arabian Journal for Science and Engineering. 2021 Aug 24:1-6.

Mohammed, E.A.; Mohamed, A.; Mitani, Y.: Genetic-moth swarm algorithm for optimal placement and capacity of renewable DG sources in distribution systems. IJIMAI 5, 105-117 (2019).

Kumar, S.; Solanki, V.K.; Choudhary, S.K.; Selamat, A.; Crespo, R.G.: Comparative Study on Ant Colony Optimization (ACO) and K-Means Clustering Approaches for Jobs Scheduling and Energy Optimization Model in Internet of Things (IoT). Int. J. Interact. Multimed. Artif. Intell. 6(1), 107-116 (2020).

Moezzi R, Minh VT, Tamre M. Fuzzy Logic Control for a Ball and Beam System: Fuzzy Logic Control for a Ball and Beam System. International Journal of Innovative Technology and Interdisciplinary Sciences. 2018;1(1):39-48.

Ding, M.; Liu, B.; Wang, L. Position Control for Ball And Beam System based on Active Disturbance Rejection Control. Syst. Sci. Control Eng., 7, 97-108, 2019.

Espinel Blanco, E., Romero Garcia, G., Florez Solano, E., PID Control System Applied to a Hybrid Electric Power Generation System with Hydrogen, (2020) International Review of Automatic Control (IREACO), 13 (4), pp. 182-190.

Mohd Yamin, A., Mat Darus, I., Mohd Nor, N., Ab Talib, M., Intelligent PID Controller with Cuckoo Search Algorithm and Particle Swarm Optimisation for Semi-Active Suspension System Using Magneto-Rheological Damper, (2022) International Review of Mechanical Engineering (IREME), 16 (3), pp. 154-162.

Yadav, S., Kumar, S., Goyal, M., PID Tuning and Stability Analysis of Hybrid Controller for Robotic Arm Using ZN, PSO, ACO, and GA, (2022) International Review of Mechanical Engineering (IREME), 16 (5), pp. 257-264.

Khouili, D., Labbadi, M., Ramzi, M., Lahlouh, I., Design of a Robust Nonlinear PID Controller: Simulation and Experimental Validation for a Computer Aided Aerothermic System, (2022) International Review of Automatic Control (IREACO), 15 (1), pp. 12-19.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2024 Praise Worthy Prize