Description:
This project primarily aims to achieve balance control of a ball at any specific position on a plate using a PID controller.
Working Principle:
A Ball and Beam system was initially designed to achieve the objective of balancing a ball at any desired position on the beam. This system underwent a two-step implementation process. Firstly, it was developed and simulated in Python, allowing for the refinement of control algorithms. Subsequently, the system was translated into a hardware setup using an Arduino UNO, an ultrasonic sensor, and a servo motor.
The Arduino UNO served as the primary controller, executing the PID controller, while the ultrasonic sensor provided precise position measurements of the ball on the beam. By adjusting the inclination of the beam using the servo motor, the position of the ball could be manipulated.
Later, a ball and plate system was developed and simulated in python and the desired results were achieved.
Components Used:

Ultrasonic Sensor:

Arduino Uno:
