How to use LQR for finding the control gain matrix K in presence of constraints?
Mostra commenti meno recenti
I am using the Linear quadratic Regulator (LQR), more specifically dlqr function to obtain a control gain matrix for my ss model of the form xdot=Ax+Bu and u=-Kx. However, my control value (u) is constrained by physical limits. How can i include that in the program in order to obtain appropriate K?
2 Commenti
neha
il 3 Ago 2018
Aquatris
il 3 Ago 2018
I do not think you can define it the way you think in LQR. The only way is by trial and error choosing Q and R such that it gives you desired performance.
If you want to include the control input limits in problem formulation, I recommend you use Hinfinity or mu-synthesis control instead.
Risposte (1)
That is what Q and R matrices are for. Increasing the values in the R matrix will result in a decrease in control input however it might increase the magnitude of your states. So there is a trade-off between Q and R matrices.
Increasing Q will decrease the magnitude of the state vector and increase the magnitude of the control vector. Increasing R will decrease the magnitude of the control vector and increase the magnitude of state vector. It is engineers job to find the sweet spot for Q and R to achieve desired performance
Categorie
Scopri di più su Tuning Goals in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!