Skip to content

LQR, LQG Controller Implementation and Analysis for a two load Crane Problem (Inverted Pendulum)

License

Notifications You must be signed in to change notification settings

Prasheel24/two-load-crane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LQR, LQG Controller Implementation and Analysis for a Non-Linear double Crane System

License MIT

Disclaimer

This project is shared for informative purposes. 
The original records of this project are present on the University server.
Please use this project for reference only.

Author

Prasheel Renkuntla - GitHub

I am pursuing my Master's in Robotics at the University of Maryland, College Park. My primary area of interest is in Vision integrated Robot Systems.

Overview

This project deals with stabilizing and controlling a non-linear double crane system. There are two components to the given problem statement for this project.

  • First, The equations of motion for the system are determined. The presented non-linear system is then linearised and an LQR controller is designed to stabilize the obtained linearized system. It is then tuned to stabilize the initial non-linear system.
  • Second, For each of the observable output vectors, a Luenberger Observer is designed for the linear system with the given initial conditions and a step response. Finally, an LQG controller is designed to stabilise the non linear system using a Kalman Filter along with the existing LQR control.

Dependencies

Run

The rest of the controllers are built in Simulink and their simulation results can be verified.

Demo

The output folder consists of both the LQR and LQG controller resultant graphs when subjected to initial conditions and step response for both the Non linear and Linear system. Following figure shows the LQR controller for Linear system under initial conditions -

LQR under initial conditions

Graph below shows the LQR control for Non linear system -

LQR Control for Non Linear System

The Luenberger observer for x(t) output vector with step input is shown below -

Luenberger Observer output for x(t) with step input

LQG controller output for x(t) is given below(Linear System) -

LQG Control for x(t) in Linear

FInally, the graph below shows the LQG controller for non linear system given the output vector to be x(t) -

LQG Controller for Non linear system - x(t)

License

MIT License

Copyright (c) 2020 Prasheel Renkuntla

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

References

  • E. V. Kumar and J. Jerome. Robust lqr controller design for stabilizing and trajectory tracking of inverted pendulum. Procedia Engineering, 64:169-178, 2013.
  • Linearisation - Link
  • Luenberger Observer - Link
  • LQG Controller - Link

About

LQR, LQG Controller Implementation and Analysis for a two load Crane Problem (Inverted Pendulum)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages