Design of a Linear Quadratic Regulator balance controller for the Inverted Pendulum. After manually initializing the pendulum in the upright vertical position, the balance controller moves the rotary arm to keep the pendulum in this upright position. Moreover it is capable of balancing itself, even if minor external disturbances are given.
This project is a part of the control and computing lab project for IIT Bombay. I have attached the relevant Chapter from our lab report. All the harware details, the mathematical model and the codes are explained in details in that report, so I am not explaining anything in this readme anymore.
For this project we used a rotary inverted pendulum kit by Quanser.
Arduino Mega was used for the control of the DC Motor voltage.
The circuit diagram is shown here: circuit diagram The decoder datasheet can be found here: HCTL 2022 The encoder datasheet can be found here: Avago Encoder