LQR Design: Choosing Q & R matrices for specific eigenvalues

In summary, to choose the matrices Q and R such that the eigenvalues of the closed loop system (A-BK) are exactly [-1,-2], we can solve for these matrices by using the eigenvalues of the Hamiltonian matrix H. This involves substituting the desired eigenvalues into the equation for the eigenvalues of H and solving for Q and R using the resulting equations.
  • #1
Expirobo
2
0
Assuming we have a closed loop system (A-BK), with stable eigenvalues, how would one choose matrices Q and R such that the eigenvalues of (A-BK) are exactly [-1,-2]?

LTI System:
[itex]\dot{x}=\left[ \begin{array}{cc}
0& 1 \\
0 & 0 \\
\end{array} \right]x+\left[ \begin{array}{c}
0 \\
1 \\
\end{array} \right]u [/itex]

The performance measure is given by:

[itex]V=\int_0^\infty \left( x'\left[ \begin{array}{cc}
1 & 0 \\
0 & 2 \\
\end{array} \right]x+u^2\right)\mathrm{d}t.
[/itex]

So the initial Q is :
[itex]
Q=\left[ \begin{array}{cc}
1 & 0 \\
0 & 2 \\
\end{array} \right]
[/itex]

and R = 1

However, we want to choose a new matrix for Q and R so that we have stable eigenvalues:
[itex]
\lambda=-1 \\
\lambda=-2 \\
[/itex]

I have gone round and round with this, but I cannot see how to work back through the Hamiltonian Matrix to achieve a desired value for Q & R.

The Hamiltonian is:
[itex]
H=\left[
\begin{array}{cc}
A & -BR^{-1}B' \\
-Q & -A' \\
\end{array} \right]
[/itex]

and the stable Eigenvalues of H (ones with negative real parts) are exactly the eigenvalues of the closed loop system A-BK.

Please help if you can. Even something to point me in the right direction will help.

BTW, just iterating by hand the matrix Q, I came up with eig(H) = -1,-2 using:

[itex]
Q=\left[ \begin{array}{cc}
4 & 0 \\
0 & 5 \\
\end{array} \right]
[/itex]

Yet, I must show how to achieve something like this mathematically.

Thanks!
 
Physics news on Phys.org
  • #2
The approach to this problem is to use the eigenvalues of the Hamiltonian matrix H to find the appropriate Q and R. To do this, we can first solve for the eigenvalues of the Hamiltonian matrix:\lambda^2-(tr(A))\lambda+(det(A)+tr(QR^{-1}B'B))=0We know that we want the eigenvalues to be -1 and -2, so we can substitute these values into the equation above. This will give us two equations which we can solve for the terms tr(A) and det(A)+tr(QR^{-1}B'B). We can then use these equations to compute the appropriate values for Q and R.For example, if tr(A)=-3 and det(A)+tr(QR^{-1}B'B)=7, then we can solve for Q and R using the following equations:Q=(-3+\sqrt{10}\,)^2/4 \\R=(7+\sqrt{10}\,)^2/4Therefore, the matrices Q and R that will give us the desired eigenvalues of [-1,-2] are:Q=\left[ \begin{array}{cc}(3+\sqrt{10}\,)^2/4 & 0 \\0 & (3+\sqrt{10}\,)^2/4 \\\end{array} \right]R=\left[ \begin{array}{cc}(7+\sqrt{10}\,)^2/4 & 0 \\0 & (7+\sqrt{10}\,)^2/4 \\\end{array} \right]
 

1. What is LQR design?

LQR (Linear Quadratic Regulator) design is a control strategy used in engineering and applied sciences to design feedback controllers for linear systems. It aims to minimize a cost function that represents the system's performance while taking into account the control inputs and states of the system.

2. How does LQR design work?

LQR design works by formulating a cost function that represents the desired performance of the system. The cost function is then minimized using a mathematical technique called the Riccati equation, which results in the optimal feedback control gain. This gain is used to calculate the control inputs to the system, which aim to keep the system's states close to the desired values.

3. What are Q and R matrices in LQR design?

Q and R matrices are weighting matrices used in the cost function of LQR design. Q is a positive semi-definite matrix that represents the desired state performance, while R is a positive definite matrix that represents the cost of control inputs. The values in these matrices are chosen by the designer and affect the system's behavior and performance.

4. How do you choose Q and R matrices for specific eigenvalues?

The Q and R matrices can be chosen based on the desired eigenvalues of the closed-loop system. This can be done by first analyzing the system's stability and performance requirements and then using mathematical techniques such as pole placement or eigenvalue assignment to determine the appropriate values for Q and R.

5. What are some common applications of LQR design?

LQR design has a wide range of applications in engineering and applied sciences, including aerospace, robotics, automotive, and power systems. It is commonly used to design controllers for systems with complex dynamics and multiple inputs and outputs, as it can handle nonlinearities and uncertainties in the system's behavior.

Similar threads

  • Linear and Abstract Algebra
Replies
1
Views
713
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
551
  • Advanced Physics Homework Help
Replies
19
Views
947
  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Advanced Physics Homework Help
Replies
6
Views
935
  • Linear and Abstract Algebra
Replies
3
Views
830
Replies
19
Views
1K
  • Advanced Physics Homework Help
Replies
19
Views
1K
  • Linear and Abstract Algebra
Replies
14
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
2K
Back
Top