[Math] ny rule of thumb when it comes to selecting control/predict horizon for MPC

control theorylinear-controloptimal controloptimizationsystem identification

I have a simple question:

Is there any rule of thumb when it comes to selecting control/predict horizon for MPC?

Normaly I set control and predict horizon equals, but I have heard that's not good practice.

I'm developing my own adaptive(subspace identification) constrained MPC with GNU Octave and it works very good! But still I need some method where I can auto select the horizon of predict and control.

I know the model of the system and I can find the damping, time constant, poles and eigen frequency. Can I use them to compute the horizons?

If you wonder what algorithm I'm using, I'm using Observer Kalman Filter Identification to compute the impulse response from an arbitrary input and output, then Eigensystem Realization Algorithm to turn the impulse response into a discrete state space model. I have tried N4SID, MOESP, ARX but they are too advanced and requried more tuning and data to get a good model.

System Identification Algorithms:
https://github.com/DanielMartensson/Mataveid

Constrained Model Predictive Control:
https://github.com/DanielMartensson/Matavecontrol

MPC model predictive control

Best Answer

I would say that there is no simple rule. Long enough to capture the important behavior.

I've never heard anyone saying it is bad practice to use same control and prediction horizon. Why complicate matters with two design choices.

Related Question