# problem with MPC controller

3 visualizaciones (últimos 30 días)
Xu el 12 de En. de 2023
Hi I am Xu and now I wanna use adaptive MPC controller to control a LPV system. It is a thermal control and the Ty is the controlled temperature and Ic the the input current to LPV. The 'Model' parameter will be generated from LPV system with output state space, states and outputs and U, DX will from the matrix and states calculated. The refference temperature is set to 363.15 K and in attachment are the Ty and Ic in 3100s to 3500s. It shows that, if the Ty is higher than 363.15 the Ic will fall rapidly to 0; if the Ty is lower than 363.15 the Ic will increase rapidly to a value. As in such period Ty go through 363.15 for many times and the Ic rapidly ad and down. It is dangerous for the control. Could anyone give me tips to solve such a problem? Thank you very much!
##### 2 comentariosMostrar NingunoOcultar Ninguno
Sam Chak el 13 de En. de 2023
Hi @Xu
I would probably analyze the thermal system to see if the temperature can regulated with a standard feedback control.
If it works, then I will gather some data to design the advanced controller within certain constraints and then replace it with the advanced controller.
Can you show the mathematical model of the LPV thermal system?
Xu el 13 de En. de 2023
Thanks for your answer! Indeed I also designed a PID controller and it seems better than the MPC model. Such a rapidly ab and down may be caused by, that even the temperature changes 0.01 K the output must change 1e4 W(I am not sure about this unit), so when the Ty is near 363.15 K the output of MPC controller changes with very high amplitude and frequency. What do you mean the mathematical model, the state space?

Iniciar sesión para comentar.

### Respuestas (1)

Emmanouil Tzorakoleftherakis el 25 de En. de 2023
It seems to me that the solution is to add a constraint on the rate of change of the manipulated variable Ic. That way you can avoid rapid changes in the input current. Please take a look at this doc page to see how to set up rate constraints
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

### Categorías

Más información sobre Controller Creation en Help Center y File Exchange.

R2022a

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by