How can I create an MPC plant model for a nonlinear state space model?

조회 수: 9 (최근 30일)
ce
ce 2020년 2월 24일
편집: Dhruv Thakkar 2020년 3월 14일
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
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020년 2월 28일
I am not sure which MATLAB version you are using, but have you considered using nonlinear MPC instead of linear?

댓글을 달려면 로그인하십시오.

답변 (1개)

Dhruv Thakkar
Dhruv Thakkar 2020년 3월 14일
편집: Dhruv Thakkar 2020년 3월 14일
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.

카테고리

Help CenterFile Exchange에서 Controller Creation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by