PID Control for Cart and Pole system: Simulation and Experiment

Authors

  • Thai-Bao Dang FPT Software Company
  • Truong-Doan-Hy Ngo Ho Chi Minh City University of Technology and Education
  • Thanh-Danh Tran Ho Chi Minh City University of Technology and Education
  • Thi-Kieu-Tien Vo Ho Chi Minh City University of Technology and Education
  • Nguyen-Ngoc-Truc Lai Ho Chi Minh City University of Technology and Education
  • Thi-My-Linh Huynh Ho Chi Minh City University of Technology and Education
  • Thi-My-Hang Nguyen Ho Chi Minh City University of Technology and Education
  • Thi-My Nguyen Ho Chi Minh City University of Technology and Education
  • Tuong-Vy Le Ho Chi Minh City University of Technology and Education
  • Khanh-Hung Pham Ho Chi Minh City University of Technology and Education
  • Nguyen-Cuong Huynh Ho Chi Minh City University of Technology and Education
  • Anh-Tuan Nguyen Ho Chi Minh City University of Technology and Education
  • Thanh-Trung Nguyen Ho Chi Minh City University of Technology and Education

DOI:

https://doi.org/10.59247/jfsc.v2i1.165

Keywords:

Cart and Pole, Inverted Pendulum, PID Control, Linear Controller, SIMO Systems

Abstract

Inverted pendulum (IP) is a single input-multi output (SIMO) nonlinear system that is popular in laboratories of control engineering. In this paper, we propose a structure of the PID control method – the most popular control method in the industry - for the cart and pole (C&P) system- a kind of IP. In this case, a suitable structure can help single input-single output (SISO) linear controllers to balance well. By this combination, the PID method can be used to stabilize this model at the equilibrium point. This controller is proven to work well in simulation. Therefore, we also present an experimental model which is created from the STM32F4 Discovery board for testing this algorithm. The experiment results again confirm the suitability of the method in simulation. Therefore, a survey of PID calibration is examined. The experimental survey confirms the suitability of this PID controller with theoretical points. The results from this study can be used to examine and train algorithms for learners in control laboratories.

References

O. Boubaker, “The inverted pendulum: A fundamental benchmark in control theory and robotics,” International Conference on Education and e-Learning Innovations, pp. 1-6, 2012, https://doi.org/10.1109/ICEELI.2012.6360606.

M. Waszak and R. Łangowski, “An Automatic Self-Tuning Control System Design for an Inverted Pendulum,” IEEE Access, vol. 8, pp. 26726-26738, 2020, https://doi.org/10.1109/ACCESS.2020.2971788.

S. Krafes, Z. Chalh and A. Saka, “Review: Linear, nonlinear and intelligent controllers for the inverted pendulum problem,” 2016 International Conference on Electrical and Information Technologies (ICEIT), pp. 136-141, 2016, https://doi.org/10.1109/EITech.2016.7519577.

P. Li, G. Zhu and M. Zhang, “Linear Active Disturbance Rejection Control for Servo Motor Systems With Input Delay via Internal Model Control Rules,” IEEE Transactions on Industrial Electronics, vol. 68, no. 2, pp. 1077-1086, 2021, https://doi.org/10.1109/TIE.2020.2970617.

M. Zhang and T. Tarn, “Hybrid control of the Pendubot,” IEEE/ASME Transactions on Mechatronics, vol. 7, no. 1, pp. 79-86, 2002, https://doi.org/10.1109/3516.990890.

J. Wang, “Simulation studies of the inverted pendulum based on PID controllers,” Simulation Modelling Practice and Theory, vol. 19, no. 1, pp. 440-449, 2011, https://doi.org/10.1016/j.simpat.2010.08.003.

H. Balaga and M. Deepthi, “Stabilization of Cart Inverted Pendulum System using LQR, Two-Loop PID, and Regional Pole Placement techniques,” 2021 Asian Conference on Innovation in Technology (ASIANCON), pp. 1-6, 2021, https://doi.org/10.1109/ASIANCON51346.2021.9545026.

J. -H. Li, “Fuzzy supervisory control of a cart-pole system,” 11th IEEE International Conference on Control & Automation (ICCA), pp. 435-439, 2014, https://doi.org/10.1109/ICCA.2014.6870959.

C. Aguilar-Ibáñez, J. Mendoza-Mendoza, J. Dávila, “Stabilization of the cart pole system: by sliding mode control,” Nonlinear Dynamics, vol. 78, no. 4, pp. 2769-2777, 2014, https://doi.org/10.1007/s11071-014-1624-6.

A. Visioli, “PID Control System Design and Automatic Tuning Using MATLAB/SIMULINK [Bookshelf],” IEEE Control Systems Magazine, vol. 41, no. 3, pp. 99-100, 2021, https://doi.org/10.1109/MCS.2021.3062959.

T. D. Nguyen, “Feedback Linearization Control for Inverted Pendulum,” DongThap University Journal of Science, vol. 12, no. 2, pp. 50-59, 2023, https://doi.org/10.52714/dthu.12.2.2023.1032.

X. Bajrami, A. Pajaziti, R. Likaj, A. Shala, R. Berisha, M. Bruqi, “Control theory application for swing up and stabilisation of rotating inverted pendulum,” Symmetry, vol. 13, no. 8, p. 1491, 2021, https://doi.org/10.3390/sym13081491.

M. T. Vo et al., “Back-stepping control for rotary inverted pendulum,” Journal of Technical Education Science, vol. 15, no. 4, pp. 93-101, 2020, https://jte.edu.vn/index.php/jte/article/view/110.

V. M. Tai et al., “Design of Input-Output Feedback Linearization Control for Rotary Inverted Pendulum System,” Journal of Technical Education Science, vol. 17, no. 2, pp. 26-35, 2022, https://doi.org/10.54644/jte.69.2022.1120.

F. Cao, “PID controller optimized by genetic algorithm for direct-drive servo system,” Neural Computing and Applications, vol. 32, no. 1, pp. 23-30, 2018, https://doi.org/10.1007/s00521-018-3739-z.

Downloads

Published

2024-03-04

How to Cite

[1]
T.-B. Dang, “PID Control for Cart and Pole system: Simulation and Experiment”, J Fuzzy Syst Control, vol. 2, no. 1, pp. 29–35, Mar. 2024.

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)