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

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.
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