Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 698 Bytes

File metadata and controls

9 lines (5 loc) · 698 Bytes

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