필터 지우기
필터 지우기

MPC constraints are still being violated despite hardening constraints

조회 수: 5 (최근 30일)
Gabrielle Simms
Gabrielle Simms 2022년 5월 18일
답변: Aishwarya 2024년 2월 7일
Hello everyone!
I have a MPC controller where I have set the initial constraints using the 'setcontraints' command, however, I would like to update these constraints during runtime. Thus, I set the 'CustomConstraint' property of an mpcmoveopt object to my new E,F and G values. My run-time constraints are still being HEAVILY violated.
I've tried hardening the constraint by defining V to be between 0 and 0.1 in the 'setconstraints' command (which is outside my control loop) which didn't work. I am not sure if there is another way to harden these mixed I/O constraints. Please help.

답변 (1개)

Aishwarya
Aishwarya 2024년 2월 7일
Hi Gabrielle,
From what I understand, you are looking to implement mixed input/output constraints for MPC Controller during run time, while ensuring that these constraints are not violated.
Here are some suggestions to help resolve the issue:
  • Ensure that the constraints are consistent with the plant model and the control objectives.
  • As the outputs are predicted using the model, it is possible that the constraints won't be satisfied if the model is imperfect.
  • It is advisable to avoid setting Output Variable (OV) bounds unless they are critical for your application. Instead, you can define an OV reference and adjust the associated cost function weight to maintain the OV near its target value.
  • If greater flexibility in constraint specification is required, consider switching to a Non-Linear MPC Controller, which can accommodate a broader range of constraint scenarios.
If you need additional information, please refer to the following documentation:
I hope this information is helpful!
Best Regards,
Aishwarya

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by