Problem with MPC Control (Poor Tracking)
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to get an MPC controller working on this discrete state space model.
zc = 0.6;
g = 9.81;
dt = 0.01;
A = [1 dt (dt^2)/2;
0 1 dt;
0 0 1];
B = [dt^3/6
dt^2/2
dt];
C = [1,0, -zc/g];
D = [0];
model = ss(A,B,C,D,dt)
I have used mpcDesigner to get a controller with preview references, but I cannot get a good step response even after adjusting the closed loop Performance slider.
I'm new to MPC and I think that I'm missing something very obvious.
0 comentarios
Respuestas (2)
fouad koudsi
el 26 de Oct. de 2020
Editada: fouad koudsi
el 26 de Oct. de 2020
Look into this answers your question!
0 comentarios
Keyur Mistry
el 24 de Sept. de 2020
I understand you are trying to get good step response of the system using MPL Designer app. After analyzing the system, I can say system is uncontrollable as determinant of the controllability matrix for the system is in the range of 10^-12.
To find controllability matrix you can use “ctrb” command:
To find determinant of matrix you can use “det” command:
2 comentarios
Keyur Mistry
el 25 de Sept. de 2020
I wonder how output of uncontrollable unstable system is bounded after applying simple linear feedback. Please make sure the system parameters (A,B,C,D) you have provided in the question are correct. Also in do-mpc library on Python you are using linear feedback law to tune the system and not using any non-linear control.
Ver también
Categorías
Más información sobre Model Predictive Control Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!