Why is the simulating result different from the MPC controller's scripts when I want to use mpc Strategy to control the stewart platform in simulink ?

14 views (last 30 days)
To Whom It May Concern,
I am a beginner about simulink but some issues staring me in the face.So I'm writing to seek clarification regarding MPC Controller in simulink. Your assistance would be most valuable.
At the beginning, I wanted to use MPC strategy to control the stewart platform in simulink. With preliminary resarch, I chose to use MPC Controller in MPC Toolbox. When I finished the configuring process, something went wrong.
In MPC controller's scenario, the output results are stable as time going. However, when we run the stewart model with simulink, the model's state is deeply defferent from the results displayed in MPC Controller.
Could you tell me what mistakes I made in this process?
Yours faithfully,

Answers (1)

Ayush
Ayush 3 minutes ago
Edited: Ayush 1 minute ago
Hi Bingkun,
I understand your concern. The main reason for the difference is that the MPC Controller block typically uses a simplified (often linearized) model, while your Stewart platform in Simulink is likely nonlinear and more complex. This mismatch causes the controller to perform well in its own scenario but not on the actual plant.
To address this:
  • Consider using Adaptive or Nonlinear MPC, which are designed for nonlinear or time-varying systems.
  • Make sure your MPC prediction model closely matches your Simulink plant model.
  • Double-check your signal connections and sampling times.
You can refer the following documentation to understand controlling non linear and time - varying model:
If the issue still persists, you should contact MathWorks Technical support at:
Hope this helps!

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!