Simulink not recognizing blocks in the linearization path

I am trying to simulate a MPC controller in a coupled tank plant but when I run the MPC toolbox my system is not being linearized. I was expecting matrices 2x2 for my state space system. I have attached the images of the screen of the model and the compilation from the control and estimation tool. Does anyone knows the reason why simulink is not linearizing this model?

 採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2014 年 4 月 17 日

0 投票

I quickly tried setting up some values and linearizing plant model. My guess is that you are probably linearizing where your integrators are saturated, and therefore are getting zero linearization. Try to disable integrator saturation when designing MPC, then enable it back when running simulations.

1 件のコメント

Matheus Damasceno
Matheus Damasceno 2014 年 4 月 17 日
Yes, you were right, I just tried linearizing the plat without saturations and worked just as expected.
Thank you for your help.

サインインしてコメントする。

その他の回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014 年 4 月 17 日

0 投票

Hard to say exactly without having the model (can you attach it maybe?), but the likely scenario is that the root cause of the problem are the discontinuities in the model such as sign block.
A solution may be to specify custom linearization for such blocks as explained in the linearization troubleshooting section , specifically here .

2 件のコメント

Matheus Damasceno
Matheus Damasceno 2014 年 4 月 17 日
編集済み: Matheus Damasceno 2014 年 4 月 17 日
I see, I never thought about the discontinuity of the sign block. Ok, I just uploaded the model, meanwhile I will read the links you recommended and keep testing.
Arkadiy Turevskiy
Arkadiy Turevskiy 2014 年 4 月 17 日
Can you also provide all the parameters used in the model?

サインインしてコメントする。

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by