Skip to content
项目

lucasrm25/Gaussian-Process-based-Model-Predictive-Control

在 GitHub 查看

关于

Project for the course "Statistical Learning and Stochastic Control" at University of Stuttgart

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Gaussian-Process based Model Predictive Control [IN PROGRESS]

Project for the course "Statistical Learning and Stochastic Control" at University of Stuttgart

For detailed information about the project, please refer to the Presentation and Report.

Supported Matlab Version >= R2019a

Control of a Race Vehicle with unkown complex dynamics

To run the Race Car example execute:

main_singletrack.m


A Gaussian process is used to learn unmodeled dynamics

    x_{k+1} = f_d(x_k,u_k) + B_d * ( GP(z_k) + w )

    , where z_k = [Bz_x*xk ; Bz_u*uk] is the vector of selected features
            f_d is the dicrete nominal model
            w ~ N(0,\sigma_n) is the process WG noise
            GP is the Gaussian Process model reponsible for learning the unmodeled dynamics

The Gaussian Process model GP is then fed with data (X,Y+w) collected online, such that:

    X = [x_k,u_k]
    Y + w = pinv(B_d) * ( x_{k+1} - f_d(x_k,u_k) )

and it is trained (hyperparameter optimization) by maximizing the log Likelihood p(Y|X,theta), where theta is the vector of hyperparameters.

Results

NMPC controller with unmodelled dynamics Learning-Based NMPC controller (with trained Gaussian Process)
drawing drawing

Control of an Inverted Pendulum with deffect motor

To run the Inverted Pendulum please execute

main_invertedPendulum.m

探索相关项目

加载中…