Skip to content

Model Predictive Control of an inverted pendulum, controlled by a propeller at its end: "The Ventilator".

Notifications You must be signed in to change notification settings

whateverforever/mpc-ventilator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nonlinear MPC for Inverted Pendulum Ventilator

This experiment shows a Model Predictive Control for an inverted pendulum which is held in position by a propeller mounted to its end. The MPC controller uses single shooting (aka. sequential discretization) to set up the optimization problem and state-similarity to warmstart the optimization in each step.

The plant and the model differ in the dampening of the pin joint and the length of the rod. Additionally, the state x (angle and angle velocity) and control input u (propeller force) have gaussian noise, see the video for the magnitude.

Implemented in python, optimization done with scipy.

video of the simulation

About

Model Predictive Control of an inverted pendulum, controlled by a propeller at its end: "The Ventilator".

Topics

Resources

Stars

Watchers

Forks