Nonlinear MPC is not converging. Although the predictions go towards the reference
古いコメントを表示
I'm trying to control an aircraft using NPMC (matlab toolbox) and a nonlinear model to make the prediction (the plant is equal to the prediction model). I trimmed the aircraft at mach 0.5 and 4000m. My reference are theta and alpha (0.06rad and after 0.5 second a change it to 0.01 rad) just to see what happens. However, the problem is not converging (I got npl.status = -2) and, as a result, the manipulated variables are not updating (MV = initial condition). When a analyse the y.seq, it seems to converge (am I right?):

For me, it's trivial test and it should converge to 0.1 easily but i don't get why it not converging. I've tried to change prediction/control horizons, Ts (sample time) but the results still the same. Anyone does have any ideia what's happening? why is NMPC controller not sending new inputs to the plant?
Thanks in advance.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Refinement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!