Python codes for advanced control
Python Codes for Advanced Control
This is a sample code of Linear-Quadratic Regulator
This is LQR regulator simulation.
This is LQR tracking simulation.
This is a finite horizon optimal control sample code
This is a sample code of a simple Model Predictive Control (MPC) regulator simulation
This is a sample code of a Model Predictive Control (MPC) traget tracking simulation
This is a sample code for model predictive control optimization modeling without any modeling tool (e.g cvxpy)
This means it only use a solver (cvxopt) for MPC optimization.
It includes two MPC optimization functions:
It can be applied input constraints (not state constraints).
It can be applied state constraints and input constraints.
This figure is a comparison of MPC results with and without modeling tool.
This is a inverted pendulum mpc control simulation.
This is a API compatible function of MATLAB c2d function.