MATLAB minreal for stabilizing a control plan
1 次查看(过去 30 天)
显示 更早的评论
Having weighing matrices G and Rin using lqry
[K,~,~] = lqry(mysys,G,Rin);
I got the following error:
Error using ss/lqry (line 96) The "lqry" command failed to stabilize the plant or find an optimal feedback gain. To remedy this problem:
1. Make sure that all unstable poles of A are controllable through B (use MINREAL to check)
2. Modify the weights Q and R to make [C D;0 I]'*[Q N;N' R]*[C D;0 I] positive definite (use EIG to check positivity).
If I want to use minreal for stabilizing the plan, how should I modify G and Rin ?
mysys=minreal(mysys);
G=?????
Rin=?????
[K,~,~] = lqry(mysys,G,Rin);
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!