The 'lqr' 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). If there are uncontrollable unstable poles, the system needs to be redesigned or a controller added to achieve controllability.
  2. Modify the weights Q and R to make [Q N;N' R] positive definite (use EIG to check positivity). If the weight matrices are not positive definite, the LQR control design requires selecting appropriate weights.
LQR Command Failure: Troubleshooting and Solutions

原文地址: https://www.cveoy.top/t/topic/nQAv 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录