Design and Implementation of PID and Fuzzy-PID Controllers for Ball-on-Plate

Authors

  • Quoc-Khanh Tran Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Pham-Minh-Trong Vo Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Hoang-Dung Nguyen Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Tran-Nhat Dang Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Thi-Ngoc-Thao Nguyen Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Thi-Hong-Lam Le Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Phong-Luu Nguyen Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Thanh-Binh Nguyen Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Van-Hiep Nguyen Ho Chi Minh City University of Technology and Engineering (HCM-UTE)
  • Ngoc-Long Le Ho Chi Minh City University of Technology and Engineering (HCM-UTE)

DOI:

https://doi.org/10.59247/jfsc.v4i2.380

Abstract

This paper presents the design, implementation, and comparative evaluation of a conventional PID controller and a Fuzzy-PID controller for a nonlinear Ball-on-Plate (BoP). The primary objective is to stabilize the ball at a desired position on the plate while achieving a fast transient response and robustness against disturbances. A conventional PID controller is first designed and tuned using the Ziegler–Nichols method. To improve performance under nonlinear conditions, a Fuzzy-PID controller is developed in which fuzzy logic adaptively adjusts the PID gains online. The proposed controllers are evaluated through three stages: numerical simulation in MATLAB/Simulink, real-time implementation in Python, and experimental validation on a physical hardware platform. Compared with the conventional PID controller, the Fuzzy-PID controller achieves a reduction in maximum overshoot from 0.17% to below 0.1% in simulation, a shorter settling time (approximately 4.0 s for PID versus 2.8 s for Fuzzy-PID), and a reduction in steady-state positioning error of approximately 33–36% in hardware experiments (from ~3–14 pixels to ~2–9 pixels).

Control block diagram of the system

Downloads

Published

2026-07-22

How to Cite

[1]
Q.-K. Tran, “Design and Implementation of PID and Fuzzy-PID Controllers for Ball-on-Plate”, J Fuzzy Syst Control, vol. 4, no. 2, pp. 206–214, Jul. 2026.

Most read articles by the same author(s)

1 2 > >>