LQR Control of a Double-Inverted Pendulum

LQR Control of a Double-Inverted Pendulum

Control of the unstable inverted pendulum is a common research topic in the area of Dynamics and Controls. The project goal was to design, implement and test all of the mechanical, electrical, and software systems necessary to stabilize and control a double inverted pendulum. Mechanical design was completed in Solidworks and the manufactured parts were 3D printed. Electrical signal conditioning was accomplished through passive and active componentry and then integrated to a dsPIC microcontroller.

All final software was developed in MATLAB Simulink then converted to C code to be used in the dsPIC. The MATLAB development environment provides an easy to use system for future attempts at controlling the system. Swing up and control of a single inverted pendulum was successful though further controller tuning could yield a better system performance.

The hardware and software for a double inverted pendulum was successfully implemented though stable control was never achieved. Further tuning of the LQR controller parameters would yield a stable system.

The double-inverted pendulum on a cart.

Simulation result of the step response for the double-inverted pendulum

Avatar
Amir Yazdani
PhD Candidate in Robotics