Design and Implementation of a Ball-Plate Control System and Python Script for Educational Purposes in STEM Technologies

Uložené v:
Podrobná bibliografia
Názov: Design and Implementation of a Ball-Plate Control System and Python Script for Educational Purposes in STEM Technologies
Autori: Tudic, Vladimir, Kralj, Damir, Hoster, Josip
Zdroj: Sensors. 22(5)
Informácie o vydavateľovi: 2022.
Rok vydania: 2022
Predmety: Ball-Plate System, USB HD camera, ready-made functions, PID controller, STEM, Python scripts
Popis: This paper presents the process of designing, fabricating, assembling, programming and optimizing a prototype nonlinear mechatronic Ball-Plate System (BPS) as a laboratory platform for engineering education STEM. Due to the nonlinearity and complexity of BPS, the task presents challenges such as: (1) difficulty in controlling the stabilization of a particular position point, known as steady-state error, (2) position resolution, known as specific distance error, and (3) adverse environmental effects—light-shadow error, which is also discussed in this paper. The laboratory prototype BPS for education was designed, manufactured and installed at Karlovac University of Applied Sciences in the Department of Mechanical Engineering, Mechatronics program. The low-cost two-degree BPS uses a USB HD camera for computer vision as a feedback sensor and two DC servo motors as actuators. Due to control problems, an advanced block diagram of the control system is proposed and discussed. An open-source control system based on Python scripts, which allows the use of ready-made functions from the library, allows the color of the ball and the parameters of the PID controller to be changed, indirectly simplifying the control system and performing mathematical calculations directly. The authors will continue their research on this BPS mechatronic platform and control algorithms.
Druh dokumentu: Article
ISSN: 1424-8220
DOI: 10.3390/s2205187510.3390/s22051875
Prístupové číslo: edsair.dris...01492..3413bdcd17928f39d31f5fc8c77866ba
Databáza: OpenAIRE
Popis
Abstrakt:This paper presents the process of designing, fabricating, assembling, programming and optimizing a prototype nonlinear mechatronic Ball-Plate System (BPS) as a laboratory platform for engineering education STEM. Due to the nonlinearity and complexity of BPS, the task presents challenges such as: (1) difficulty in controlling the stabilization of a particular position point, known as steady-state error, (2) position resolution, known as specific distance error, and (3) adverse environmental effects—light-shadow error, which is also discussed in this paper. The laboratory prototype BPS for education was designed, manufactured and installed at Karlovac University of Applied Sciences in the Department of Mechanical Engineering, Mechatronics program. The low-cost two-degree BPS uses a USB HD camera for computer vision as a feedback sensor and two DC servo motors as actuators. Due to control problems, an advanced block diagram of the control system is proposed and discussed. An open-source control system based on Python scripts, which allows the use of ready-made functions from the library, allows the color of the ball and the parameters of the PID controller to be changed, indirectly simplifying the control system and performing mathematical calculations directly. The authors will continue their research on this BPS mechatronic platform and control algorithms.
ISSN:14248220
DOI:10.3390/s2205187510.3390/s22051875