PythonLinearNonlinearControl/nmpc/newton/README.md

4.8 KiB
Raw Blame History

CGMRES method of Nonlinear Model Predictive Control

This program is about Continuous gmres method for NMPC Although usually we have to calculate the partial differential of optimal matrix, it could be really complicated. By using CGMRES, we can pass the calculating step and get the optimal input quickly.

Problem Formulation

  • example

  • model

  • evaluation function

  • two wheeled model

  • model

  • evaluation function

if you want to see more detail about this methods, you should go https://qiita.com/MENDY/items/4108190a579395053924. However, it is written in Japanese

Expected Results

  • example

Figure_1.png

  • two wheeled model

  • trajectory

image.png

  • time history

Figure_1.png Figure_2.png

Usage

  • for example
$ python main_example.py
  • for two wheeled
$ python main_two_wheeled.py

Requirement

  • python3.5 or more
  • numpy
  • matplotlib

Reference

I`m sorry that main references are written in Japanese