How can I create an MPC plant model for a nonlinear state space model?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a nonlinear state space model I would like to use as a plant for an MPC controller in Simulink. I am trying to use an s function I have previously used but am having issues getting the MPC designer to use it as a plant.
The state space model represents the equations of motion for a quadrotor drone.
Does anyone know how to use an s function as a plant for the MPC designer in simulink?
1 comentario
Emmanouil Tzorakoleftherakis
el 28 de Feb. de 2020
I am not sure which MATLAB version you are using, but have you considered using nonlinear MPC instead of linear?
Respuestas (1)
Dhruv Thakkar
el 14 de Mzo. de 2020
Editada: Dhruv Thakkar
el 14 de Mzo. de 2020
You can use an adaptive model predicitve controller to handle the nonlinearity of the system. If the Simulink function has a problem while compilation. You can use a matlab function that calls the S-function to feed the states to the MPC block.
It is appericiated if you can provide a minimum working code(MWC) so that the community can help you in a better way.
0 comentarios
Ver también
Categorías
Más información sobre Refinement en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!