Setting initial conditions in MPC
27 次查看(过去 30 天)
显示 更早的评论
Hello,
I am using Adaptive Model Predictive Controller (MPC) to track the reference trajectory. While MPC is tracking the given reference it has to catchup from zero, is there any way I can set starting of output values to a nominal value (which wouldn't take much time to catchup). Can you suggest me what can be done about it.
pic 1 : Tracking starting from zero,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1386274/image.png)
pic2 : tracking starting from nominal expected mid point
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1386279/image.png)
Here are few things that I have tried doing,
As I am using AMPC ( Adaptive Model Predictive Controller) block , I have set block parameter intial controller state to a nominal mpcstate object, though I still don't see starting from initial estimated point. here you can see what I mean,
pic3 : AMPC block parameter (mpcstateobj )
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1386324/image.png)
Can you suggest what can be done, any reference would be great help.
thanks
1 个评论
Camilo Mahnert Cataldo
2023-11-21
Hi I have the same questions. Exist to solution for this problem? Thank you.
回答(1 个)
Emmanouil Tzorakoleftherakis
2023-5-23
To get the behavior you mentioned, the initial states of your plant and controller must be the same. If the initial conditions for your system do not match, you can set the initial states of the controller to the plant initial states.
Here, it seems to me that you are setting the controller state properly, but your Simulink model does not have the proper initial conditions. I would check the Simulink model to make sure that it has the same IC as the MPC controller.
2 个评论
Camilo Mahnert Cataldo
2023-11-21
Hi, but. How adjust the initial condition in Simulink? That is a really problem for mi.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Plant Specification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!