Direct feedthrough MPC Design

5 views (last 30 days)
David Arenes
David Arenes on 30 Jul 2020
Answered: Kothuri on 17 Jan 2025 at 6:51
I am working in the design of a controller using the MPC Toolbox. When trying to run the MATLAB code, using the validateFcns() function I get the following warning:
Is there any way to solve this problem and use a direct feedrough from the manipulated vairbales to the output?
Tank you!

Answers (1)

Kothuri
Kothuri on 17 Jan 2025 at 6:51
Hi David Arenes,
The warning you are seeing indicates "direct feedthrough" from the manipulated variables (MVs) to the outputs (OVs) in your nonlinear MPC (NMPC) setup. MATLAB's MPC toolbox uses this warning to highlight a potential issue that in direct feedthrough, the output at the current timestep y(k) depends on the manipulated variable mv(k).
To rectify this warning you can:
  • Add a delay in your system model to eliminate the direct dependency of y(k) on mv(k).
  • If you want to simulate some dynamics, you can modify the output function to calculate y(k) based on the previous state or delayed manipulated variable.
You can refer the below MATLAB Answer for more info:

Categories

Find more on Model Predictive Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!