Realization of Ball on Plate Control using PID Controller and Webcam
Dahnur Agus Pahlawan, Agung Surya Wibowo, Erwin Susanto · IOP Conference Series Materials Science and Engineering · 2021
Abstract This study aims to apply the PID controller to the ball on plate control realisation to reach a stable position of ball on plate. The ball on plate props adjust the position at the desired coordinates on a flat square plate. The targeted position is set as set point coordinates in the form of X pixels and Y pixels. The input used is in the form of coordinates obtained from the webcam through image processing methods and sent serially to the microcontroller. The output from the microcontroller is fed into the actuator, namely the servo motor. From the experiment results and its implementation, it is shown that ball on plate can move towards to the desired set point. For PWM signal set point, the value referred to centre of plate is 250 and the response of X-Y axes have errors 3.64% and 8%, respectively.