You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have a an example which solves systems with time-varying matrices A, B for LQR.
I know I can just call the lqr method at every timestep with different A and B matrices, but is that the same?
We use the following, but doesn't that assume that A and B are the same during the backward pass when solving the differential equation concerning the cost to go matrix X?
Compute 'X', the solution to the continuous-time algebraic Riccati equation,
defined as A'X + XA - (XB)R^-1(B'X) + Q = 0, where R is non-singular.
i.e. Solving the cost to go matrix X backwards in time with varying A_t and B_t matrices, instead of constant A and B matrices.
Maybe I am just not understanding properly LQR in the time-varying case. Any help or guidance would be appreciated. Ideally having an example in the docs would close this issue. Thank you!
The text was updated successfully, but these errors were encountered:
The toolbox only supports the case of infinite horizon and constant system dynamics, which can be solved as an algebraic Riccati equation.
Time-varying LQR is more involved. In continuous time it is necessary to solve a differential Riccati equation. One reference for further reading on this would be Liberzon's book on optimal control, chapter 6.
I think it would be nice to have this functionality in the toolbox at some point.
It would be great to have a an example which solves systems with time-varying matrices A, B for LQR.
I know I can just call the
lqr
method at every timestep with different A and B matrices, but is that the same?We use the following, but doesn't that assume that A and B are the same during the backward pass when solving the differential equation concerning the cost to go matrix
X
?ControlSystems.jl/src/matrix_comps.jl
Lines 3 to 4 in 311013e
i.e. Solving the cost to go matrix
X
backwards in time with varyingA_t
andB_t
matrices, instead of constantA
andB
matrices.Maybe I am just not understanding properly LQR in the time-varying case. Any help or guidance would be appreciated. Ideally having an example in the docs would close this issue. Thank you!
The text was updated successfully, but these errors were encountered: