How to use lqr for R=0?

10 visualizaciones (últimos 30 días)
tevel hedi
tevel hedi el 21 de Mzo. de 2024
Comentada: Sam Chak el 22 de Mzo. de 2024
I try to get a lqr controller with R=0, and the command lqr does not let me.
How do I plan an lqr controller for R=0 in matlab?

Respuesta aceptada

Sam Chak
Sam Chak el 21 de Mzo. de 2024
Why would you want to set the input-weighted matrix R to zero?
If you set R to zero in the LQR control gain design, it means that you are assigning zero importance to the control effort in the cost function. In this case, the LQR control algorithm will mainly focus on minimizing the state error (based on the weight matrix Q) while disregarding the control effort.
Practically, setting R = 0 implies that the control gain matrix K will not have any contribution from the control input term. Consequently, the gain matrix K may become infinitely large to drive the state error to zero in a split second. This makes the tuning process becomes impractical.
  4 comentarios
tevel hedi
tevel hedi el 22 de Mzo. de 2024
Yes that is great! Thank you so much!
Sam Chak
Sam Chak el 22 de Mzo. de 2024
I'm glad to hear that the solution worked. If you found the 'eps' trick helpful in solving your LQR problem, please consider clicking 'Accept' ✔️ on the answer and voting 👍 for it.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by