PythonLinearNonlinearControl/nmpc/newton/README.md

2.6 KiB
Raw Blame History

Newton method of Nonlinear Model Predictive Control

This program is about NMPC with newton method. Usually we have to calculate the partial differential of optimal matrix. In this program, in stead of using any paticular methods to calculate the partial differential of optimal matrix, I used numerical differentiation. Therefore, I believe that it easy to understand and extend your model.

Problem Formulation

  • example

  • model

  • evaluation function

To consider the constraints of input u, I introduced dummy input.

  • two wheeled model

coming soon !

Expected Results

  • example

![Figure_1.png](https://github.com/Shunichi09/linear_nonlinear_control/blob/demo_gif/nmpc/newton/Figure_1.png width = 70%)

you can confirm that the my method could consider the constraints of input.

  • two wheeled model

coming soon !

Usage

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

coming soon !

Requirement

  • python3.5 or more
  • numpy
  • matplotlib

Reference

I`m sorry that main references are written in Japanese